uk.org.ogsadai.exception
Class DAIClassCreateException

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

public class DAIClassCreateException
extends DAIException

Exception thrown when unable to create an instance of a named class using reflection.

This may be because the given class name is abstract or an interface. Another possible cause is that a nullary constant is not available.

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

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

Field Summary
private static java.lang.String COPYRIGHT_NOTICE
           
 
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
DAIClassCreateException(java.lang.String className)
          Constructor.
DAIClassCreateException(java.lang.String className, java.lang.Throwable e)
          Constructor.
 
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
Constructor Detail

DAIClassCreateException

public DAIClassCreateException(java.lang.String className)
Constructor.

Parameters:
className - Name of class for which an instance cannot be created.

DAIClassCreateException

public DAIClassCreateException(java.lang.String className,
                               java.lang.Throwable e)
Constructor.

Parameters:
className - Name of class for which an instance cannot be created.
e - Cause of the problem.