uk.org.ogsadai.activity
Class ActivitySpecificationException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--uk.org.ogsadai.exception.DAIException
                    |
                    +--uk.org.ogsadai.activity.ActivitySpecificationException
All Implemented Interfaces:
ActivityException, DAIExceptionInformation, java.io.Serializable

public class ActivitySpecificationException
extends DAIException
implements ActivityException

There was a failure during the execution of an activity that was caused due to bad parameters from a client.

Associated with error code: uk.org.ogsadai.ACTIVITY_SPECIFICATION_ERROR, and uk.org.ogsadai.ACTIVITY_SPECIFICATION_PARAMETER_ERROR.

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

Field Summary
private static java.lang.String COPYRIGHT_NOTICE
          Copyright statement
private  java.lang.String mName
          Activity name
 
Fields inherited from class uk.org.ogsadai.exception.DAIException
 
Fields inherited from class java.lang.Exception
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
ActivitySpecificationException(java.lang.String name, java.lang.String parameter)
          Constructor.
ActivitySpecificationException(java.lang.String name, java.lang.String parameter, java.lang.Throwable cause)
          Constructor.
ActivitySpecificationException(java.lang.String name, java.lang.Throwable cause)
          Constructor.
 
Method Summary
 java.lang.String getActivityName()
          Gets the activity name.
 
Methods inherited from class uk.org.ogsadai.exception.DAIException
getErrorID, getExceptionID, getLocalizedMessage, getMessage, getParameters, hasChild, setErrorID, setParameters
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface uk.org.ogsadai.exception.DAIExceptionInformation
getErrorID, getExceptionID, getLocalizedMessage, getMessage, getParameters, hasChild
 

Field Detail

COPYRIGHT_NOTICE

private static final java.lang.String COPYRIGHT_NOTICE
Copyright statement

See Also:
Constant Field Values

mName

private java.lang.String mName
Activity name

Constructor Detail

ActivitySpecificationException

public ActivitySpecificationException(java.lang.String name,
                                      java.lang.Throwable cause)
Constructor.

Parameters:
name - Name of the activity.
cause - Cause of the problem.

ActivitySpecificationException

public ActivitySpecificationException(java.lang.String name,
                                      java.lang.String parameter)
Constructor.

Parameters:
name - Name of the activity.
parameter - Name of parameter whose setting caused the problem.

ActivitySpecificationException

public ActivitySpecificationException(java.lang.String name,
                                      java.lang.String parameter,
                                      java.lang.Throwable cause)
Constructor.

Parameters:
name - Name of the activity.
parameter - Name of parameter whose setting caused the problem.
cause - Cause of the problem.
Method Detail

getActivityName

public java.lang.String getActivityName()
Description copied from interface: ActivityException
Gets the activity name.

Specified by:
getActivityName in interface ActivityException
Returns:
activity name.