|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
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.activity.ActivityException
|
+--uk.org.ogsadai.common.exception.engine.activity.ActivityUserException
An exception which indicates an unrecoverable error condition which has arisen whilst executing an activity, which is due to a user error error rather than an implementation error.
| Field Summary |
| Fields inherited from class uk.org.ogsadai.common.exception.engine.activity.ActivityException |
mActivityName |
| Fields inherited from class uk.org.ogsadai.common.exception.DAIException |
mException, mMessageNumber, mParams |
| Constructor Summary | |
ActivityUserException(java.lang.String activityName,
DAIException e,
org.apache.log4j.Logger logger)
Construct a new activity exception, to be generated from an existing DAIException. |
|
ActivityUserException(java.lang.String activityName,
int num,
org.apache.log4j.Logger logger)
Construct a new activity exception, using a specified message from the message bundle. |
|
ActivityUserException(java.lang.String activityName,
int num,
java.lang.Object[] params,
org.apache.log4j.Logger logger)
Construct a new activity exception, using a specified message from the message bundle. |
|
ActivityUserException(java.lang.String activityName,
int num,
java.lang.Object[] params,
java.lang.Throwable ex,
org.apache.log4j.Logger logger)
Construct a new activity exception, using a specified message from the message bundle, supplying an exception which caused this exception to be thrown. |
|
ActivityUserException(java.lang.String activityName,
int num,
java.lang.Throwable ex,
org.apache.log4j.Logger logger)
Construct a new activity exception, using a specified message from the message bundle, supplying an exception which caused this exception to be thrown. |
|
ActivityUserException(java.lang.String activityName,
java.lang.String message,
org.apache.log4j.Logger logger)
Construct a new activity exception for the specified activity with the specified message string. |
|
ActivityUserException(java.lang.String activityName,
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. |
|
| Method Summary | |
java.lang.String |
toString()
Returns the error message, in the language of the server which raised the error. |
| Methods inherited from class uk.org.ogsadai.common.exception.engine.activity.ActivityException |
getActivityName |
| 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 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ActivityUserException(java.lang.String activityName,
java.lang.String message,
org.apache.log4j.Logger logger)
activityName - the name of the activity which threw this exceptionmessage - the message string describing the cause of the exceptionlogger - the logger to log the error to
public ActivityUserException(java.lang.String activityName,
java.lang.String message,
java.lang.Throwable cause,
org.apache.log4j.Logger logger)
activityName - the name of the activity which threw this exceptionmessage - the message string describing the cause of the exceptioncause - the exception which caused this exception to be thrownlogger - the logger to log the error to
public ActivityUserException(java.lang.String activityName,
int num,
java.lang.Object[] params,
org.apache.log4j.Logger logger)
activityName - the name of the activity which threw this exceptionnum - the index of the message in the message bundleparams - the parameters to substitute into the message,
or null if the message expects no
parameterslogger - the logger to log the error to
public ActivityUserException(java.lang.String activityName,
int num,
org.apache.log4j.Logger logger)
activityName - the name of the activity which threw this exceptionnum - the index of the message in the message bundlelogger - the logger to log the error to
public ActivityUserException(java.lang.String activityName,
int num,
java.lang.Object[] params,
java.lang.Throwable ex,
org.apache.log4j.Logger logger)
activityName - the name of the activity which threw this exceptionnum - the index of the message in the message bundleparams - the parameters to substitute into the message,
or null if the message expects no
parametersex - the exception which caused this exception to be thrownlogger - the logger to log the error to
public ActivityUserException(java.lang.String activityName,
int num,
java.lang.Throwable ex,
org.apache.log4j.Logger logger)
activityName - the name of the activity which threw this exceptionnum - the index of the message in the message bundleex - the exception which caused this exception to be thrownlogger - the logger to log the error to
public ActivityUserException(java.lang.String activityName,
DAIException e,
org.apache.log4j.Logger logger)
DAIException.
activityName - the name of the activity which threw this exceptione - the OGSA-DAI exception to convert to an
ActivityUserExceptionlogger - the logger to log the error to| Method Detail |
public java.lang.String toString()
toString in class java.lang.Throwable
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||