uk.org.ogsadai.client.toolkit.exception
Class UnsupportedActivityException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--uk.org.ogsadai.client.toolkit.exception.DAIException
                    |
                    +--uk.org.ogsadai.client.toolkit.exception.UserException
                          |
                          +--uk.org.ogsadai.client.toolkit.exception.UnsupportedActivityException
All Implemented Interfaces:
java.io.Serializable

public class UnsupportedActivityException
extends UserException

Exception thrown when an activity in a request is not supported by the service

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

Constructor Summary
UnsupportedActivityException(java.lang.String activityName, java.lang.Throwable cause, org.apache.log4j.Logger logger)
          Constructor.
 
Method Summary
 java.lang.String getActivityName()
          Returns the name of the unsupported activity
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

UnsupportedActivityException

public UnsupportedActivityException(java.lang.String activityName,
                                    java.lang.Throwable cause,
                                    org.apache.log4j.Logger logger)
Constructor.

Parameters:
activityName - name of the activity that is not supported
cause - exception returned by the service
logger - logger to use for error logging
Method Detail

getActivityName

public java.lang.String getActivityName()
Returns the name of the unsupported activity

Returns:
name