uk.org.ogsadai.common.exception.engine.activity
Class UnsupportedActivityException

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.UnsupportedActivityException
All Implemented Interfaces:
java.io.Serializable

public class UnsupportedActivityException
extends ActivityUserException

An exception which indicates an attempt to execute an unsupported activity.

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

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
UnsupportedActivityException(java.lang.String activityName, org.apache.log4j.Logger logger)
          Construct a new unsupported activity 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 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

UnsupportedActivityException

public UnsupportedActivityException(java.lang.String activityName,
                                    org.apache.log4j.Logger logger)
Construct a new unsupported activity exception for the specified activity.

Parameters:
activityName - the name of the unsupported activity.
logger - the logger to log the error to
Method Detail

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