com.scooterframework.common.exception
Class ObjectCreationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.scooterframework.common.exception.GenericException
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 |
className
protected java.lang.String className
- The type of class for the object to be created.
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.)
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.