uk.org.ogsadai.common.exception.engine.setup
Class EngineSetupUserException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--uk.org.ogsadai.common.exception.DAIException
                    |
                    +--uk.org.ogsadai.common.exception.engine.EngineException
                          |
                          +--uk.org.ogsadai.common.exception.engine.setup.EngineSetupException
                                |
                                +--uk.org.ogsadai.common.exception.engine.setup.EngineSetupUserException
All Implemented Interfaces:
java.io.Serializable

public class EngineSetupUserException
extends EngineSetupException

An exception which indicates an unrecoverable error condition which has arisen in the Enactment Engine whilst preparing to execute activities or returning the response document to the client, which is due to user error rather than an implementation error.

Author:
The OGSA-DAI Project Team
See Also:
Serialized Form

Field Summary
 
Fields inherited from class uk.org.ogsadai.common.exception.DAIException
mException, mMessageNumber, mParams
 
Constructor Summary
EngineSetupUserException(DAIException e, org.apache.log4j.Logger logger)
          Construct a new engine exception, to be generated from an existing DAIException.
EngineSetupUserException(int num, org.apache.log4j.Logger logger)
          Construct a new engine exception, using a specified message from the message bundle.
EngineSetupUserException(int num, java.lang.Object[] params, org.apache.log4j.Logger logger)
          Construct a new engine exception, using a specified message from the message bundle.
EngineSetupUserException(int num, java.lang.Object[] params, java.lang.Throwable ex, org.apache.log4j.Logger logger)
          Construct a new engine exception, using a specified message from the message bundle, supplying an exception which caused this exception to be thrown.
EngineSetupUserException(int num, java.lang.Throwable ex, org.apache.log4j.Logger logger)
          Construct a new engine exception, using a specified message from the message bundle, supplying an exception which caused this exception to be thrown.
 
Methods inherited from class uk.org.ogsadai.common.exception.DAIException
getException, getLocalizedMessage, getMessageNumber, getParams, stackTraceToString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EngineSetupUserException

public EngineSetupUserException(int num,
                                java.lang.Object[] params,
                                org.apache.log4j.Logger logger)
Construct a new engine exception, using a specified message from the message bundle.

Parameters:
num - the index of the message in the message bundle
params - the parameters to substitute into the message, or null if the message expects no parameters
logger - the logger to log the error to

EngineSetupUserException

public EngineSetupUserException(int num,
                                org.apache.log4j.Logger logger)
Construct a new engine exception, using a specified message from the message bundle.

Parameters:
num - the index of the message in the message bundle
logger - the logger to log the error to

EngineSetupUserException

public EngineSetupUserException(int num,
                                java.lang.Object[] params,
                                java.lang.Throwable ex,
                                org.apache.log4j.Logger logger)
Construct a new engine exception, using a specified message from the message bundle, supplying an exception which caused this exception to be thrown.

Parameters:
num - the index of the message in the message bundle
params - the parameters to substitute into the message, or null if the message expects no parameters
ex - the exception which caused this exception to be thrown
logger - the logger to log the error to

EngineSetupUserException

public EngineSetupUserException(int num,
                                java.lang.Throwable ex,
                                org.apache.log4j.Logger logger)
Construct a new engine exception, using a specified message from the message bundle, supplying an exception which caused this exception to be thrown.

Parameters:
num - the index of the message in the message bundle
ex - the exception which caused this exception to be thrown
logger - the logger to log the error to

EngineSetupUserException

public EngineSetupUserException(DAIException e,
                                org.apache.log4j.Logger logger)
Construct a new engine exception, to be generated from an existing DAIException.

Parameters:
e - the OGSA-DAI exception to convert to an EngineSetupSystemException
logger - the logger to log the error to