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
Fields inherited from class uk.org.ogsadai.exception.DAIException |
|
Fields inherited from class java.lang.Exception |
|
Fields inherited from class java.lang.Throwable |
|
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 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 |
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
-
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.
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.