uk.org.ogsadai.exception
Class DAIClassMissingInterfaceException

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

public class DAIClassMissingInterfaceException
extends DAIException

Exception thrown when a class does not implement an expected interface.

Typically thrown when classes specfied in configuration information fail in implement the required interface.

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

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

Field Summary
private static java.lang.String COPYRIGHT_NOTICE
           
private  java.lang.String mClassName
           
private  java.lang.String mInterfaceName
           
 
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
DAIClassMissingInterfaceException(java.lang.String className, java.lang.String interfaceName)
          Constuctor.
 
Method Summary
 java.lang.String getClassName()
          Gets the name of the class which filed to implement the required interface.
 java.lang.String getInterfaceName()
          Gets the name of the interface which the class failed to implement.
 
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
See Also:
Constant Field Values

mClassName

private java.lang.String mClassName

mInterfaceName

private java.lang.String mInterfaceName
Constructor Detail

DAIClassMissingInterfaceException

public DAIClassMissingInterfaceException(java.lang.String className,
                                         java.lang.String interfaceName)
Constuctor.

Parameters:
className - Name of class that failed to implement interface.
interfaceName - Name of interface not implemented.
Method Detail

getClassName

public java.lang.String getClassName()
Gets the name of the class which filed to implement the required interface.

Returns:
The class name.

getInterfaceName

public java.lang.String getInterfaceName()
Gets the name of the interface which the class failed to implement.

Returns:
The interface name.