uk.org.ogsadai.engine
Class ActivityConfigurationException

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

public class ActivityConfigurationException
extends DAIException

Raised when there is a problem initialising an ActivityConfiguration object. This may be caused by an individual activity configuration file containing the invalid information, or when a system problem occurs during the initialisation of an Activity problem accessing the activity configuration

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
ActivityConfigurationException(int num, org.apache.log4j.Logger logger)
          Construct a new exception, using a specified message from the message bundle.
ActivityConfigurationException(int num, java.lang.Object[] params, org.apache.log4j.Logger logger)
          Construct a new exception, using a specified message from the message bundle.
ActivityConfigurationException(int num, java.lang.Object[] params, java.lang.Throwable ex, org.apache.log4j.Logger logger)
          Construct a new exception, using a specified message from the message bundle, supplying an exception which caused this exception to be thrown.
ActivityConfigurationException(int num, java.lang.Object param, org.apache.log4j.Logger logger)
          Construct a new exception, using a specified message from the message bundle.
ActivityConfigurationException(int num, java.lang.Object param, java.lang.Throwable ex, org.apache.log4j.Logger logger)
          Construct a new exception, using a specified message from the message bundle, supplying an exception which caused this exception to be thrown.
ActivityConfigurationException(int num, java.lang.Throwable ex, org.apache.log4j.Logger logger)
          Construct a new exception, using a specified message from the message bundle, supplying an exception which caused this exception to be thrown.
ActivityConfigurationException(java.lang.String message, org.apache.log4j.Logger logger)
          Construct a new activity configuration exception with the specified message string.
ActivityConfigurationException(java.lang.String message, java.lang.Throwable cause, org.apache.log4j.Logger logger)
          Construct a new activity exception for the specified activity with the specified message string.
 
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

ActivityConfigurationException

public ActivityConfigurationException(java.lang.String message,
                                      org.apache.log4j.Logger logger)
Construct a new activity configuration exception with the specified message string.

Parameters:
message - the message string describing the cause of the exception
logger - the logger to log the error to

ActivityConfigurationException

public ActivityConfigurationException(java.lang.String message,
                                      java.lang.Throwable cause,
                                      org.apache.log4j.Logger logger)
Construct a new activity exception for the specified activity with the specified message string.

Parameters:
message - the message string describing the cause of the exception
cause - the exception which caused this exception to be thrown
logger - the logger to log the error to

ActivityConfigurationException

public ActivityConfigurationException(int num,
                                      java.lang.Object[] params,
                                      org.apache.log4j.Logger logger)
Construct a new 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

ActivityConfigurationException

public ActivityConfigurationException(int num,
                                      java.lang.Object param,
                                      org.apache.log4j.Logger logger)
Construct a new exception, using a specified message from the message bundle. This constructor is provided for convenience where a message contains a single parameter.

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

ActivityConfigurationException

public ActivityConfigurationException(int num,
                                      org.apache.log4j.Logger logger)
Construct a new 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

ActivityConfigurationException

public ActivityConfigurationException(int num,
                                      java.lang.Object[] params,
                                      java.lang.Throwable ex,
                                      org.apache.log4j.Logger logger)
Construct a new 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

ActivityConfigurationException

public ActivityConfigurationException(int num,
                                      java.lang.Object param,
                                      java.lang.Throwable ex,
                                      org.apache.log4j.Logger logger)
Construct a new 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
param - the parameter to substitute into the message, or null if the message expects no parameter
ex - the exception which caused this exception to be thrown
logger - the logger to log the error to

ActivityConfigurationException

public ActivityConfigurationException(int num,
                                      java.lang.Throwable ex,
                                      org.apache.log4j.Logger logger)
Construct a new 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