uk.org.ogsadai.activity
Class InvalidActivityClassException

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

public class InvalidActivityClassException
extends DAIException

Exception thrown when an activity implementation class does not derive from a required class or interface.

Associated with error code: uk.org.ogsadai.INVALID_ACTIVITY_CLASS.

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 mInvalidClass
          Name of the invalid class
private  java.lang.String mRequiredClass
          Name of the required class
 
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
InvalidActivityClassException(java.lang.String invalidClass, java.lang.String requiredClass)
          Constructor.
 
Method Summary
 java.lang.String getInvalidClassName()
          Gets the name of the class that is invalid.
 java.lang.String getRequiredClassName()
          Gets the name of the class to which the invalid class ought to have been assignable.
 
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
 

Field Detail

COPYRIGHT_NOTICE

private static final java.lang.String COPYRIGHT_NOTICE
Copyright statement

See Also:
Constant Field Values

mInvalidClass

private final java.lang.String mInvalidClass
Name of the invalid class


mRequiredClass

private final java.lang.String mRequiredClass
Name of the required class

Constructor Detail

InvalidActivityClassException

public InvalidActivityClassException(java.lang.String invalidClass,
                                     java.lang.String requiredClass)
Constructor.

Parameters:
invalidClass - Name of the invalid class.
requiredClass - Name of the required class.
Method Detail

getInvalidClassName

public java.lang.String getInvalidClassName()
Gets the name of the class that is invalid.

Returns:
Name of class that is invalid.

getRequiredClassName

public java.lang.String getRequiredClassName()
Gets the name of the class to which the invalid class ought to have been assignable.

Returns:
Name of class to which the invalid class ought to have been assignable.