uk.org.ogsadai.common.exception.engine.activity
Class ActivityAuthorisationException
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
|
+--uk.org.ogsadai.common.exception.engine.activity.ActivityAuthorisationException
- All Implemented Interfaces:
- java.io.Serializable
- public class ActivityAuthorisationException
- extends ActivityUserException
An exception which indicates that a client-caused authorisation
problem has arisen during an activity.
- Author:
- The OGSA-DAI Project Team
- See Also:
- Serialized Form
|
Constructor Summary |
ActivityAuthorisationException(java.lang.String activityName,
AuthorisationException e,
org.apache.log4j.Logger logger)
Construct a new activity authorisation exception for the
specified activity. |
ActivityAuthorisationException(java.lang.String activityName,
int num,
AuthorisationException e,
org.apache.log4j.Logger logger)
Construct a new activity authorisation exception for the
specified activity. |
ActivityAuthorisationException(java.lang.String activityName,
int num,
java.lang.Object[] params,
AuthorisationException e,
org.apache.log4j.Logger logger)
Construct a new activity authorisation exception for the
specified activity. |
ActivityAuthorisationException(java.lang.String activityName,
java.lang.String message,
AuthorisationException e,
org.apache.log4j.Logger logger)
Construct a new activity authorisation exception for the
specified activity. |
|
Method Summary |
java.lang.String |
toString()
Returns the error message, in the language of the server which
raised the error. |
| 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 |
ActivityAuthorisationException
public ActivityAuthorisationException(java.lang.String activityName,
AuthorisationException e,
org.apache.log4j.Logger logger)
- Construct a new activity authorisation exception for the
specified activity.
- Parameters:
activityName - the name of the activity which threw this exceptione - AuthorisationException that was thrown.logger - the logger to log the error to
ActivityAuthorisationException
public ActivityAuthorisationException(java.lang.String activityName,
java.lang.String message,
AuthorisationException e,
org.apache.log4j.Logger logger)
- Construct a new activity authorisation exception for the
specified activity.
- Parameters:
activityName - the name of the activity which threw this exceptionmessage - the message string describing the cause of the exceptione - AuthorisationException that was thrown.logger - the logger to log the error to
ActivityAuthorisationException
public ActivityAuthorisationException(java.lang.String activityName,
int num,
AuthorisationException e,
org.apache.log4j.Logger logger)
- Construct a new activity authorisation exception for the
specified activity.
- Parameters:
activityName - the name of the activity which threw this exceptionnum - the index of the message in the message bundlee - AuthorisationException that was thrown.logger - the logger to log the error to
ActivityAuthorisationException
public ActivityAuthorisationException(java.lang.String activityName,
int num,
java.lang.Object[] params,
AuthorisationException e,
org.apache.log4j.Logger logger)
- Construct a new activity authorisation exception for the
specified activity.
- Parameters:
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
parameterse - AuthorisationException that was thrown.logger - the logger to log the error to
toString
public java.lang.String toString()
- Returns the error message, in the language of the server which
raised the error.
- Overrides:
toString in class ActivityUserException
- Returns:
- a string representation of this exception