com.scooterframework.common.exception
Class ObjectCreationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.scooterframework.common.exception.GenericException
                  extended by com.scooterframework.common.exception.ObjectCreationException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
NoControllerFoundException

public class ObjectCreationException
extends GenericException

class ObjectCreationException

See Also:
Serialized Form

Field Summary
protected  java.lang.String className
          The type of class for the object to be created.
 
Constructor Summary
ObjectCreationException(java.lang.String className)
          Constructs a new ObjectCreationException exception with the specified class name.
ObjectCreationException(java.lang.String className, java.lang.Throwable cause)
          Constructs a new ObjectCreationException exception with the specified class name and cause.
 
Method Summary
 java.lang.String getMessage()
          Returns the detail message string of this instance.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

className

protected java.lang.String className
The type of class for the object to be created.

Constructor Detail

ObjectCreationException

public ObjectCreationException(java.lang.String className)
Constructs a new ObjectCreationException exception with the specified class name.

Parameters:
className - the class name of the object to bve created.

ObjectCreationException

public ObjectCreationException(java.lang.String className,
                               java.lang.Throwable cause)
Constructs a new ObjectCreationException exception with the specified class name and cause.

Parameters:
className - the class name of the object to bve created.
cause - the cause. (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
Method Detail

getMessage

public java.lang.String getMessage()
Returns the detail message string of this instance.

Overrides:
getMessage in class java.lang.Throwable
Returns:
the detail message string of this instance.