Package org.jfree.xml.factory.objects
Class ObjectFactoryException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.jfree.util.StackableException
org.jfree.xml.factory.objects.ObjectFactoryException
- All Implemented Interfaces:
Serializable
An exception that is thrown, if the creation of an Object failed in the
ObjectFactory implementation.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new exception withnull
as its detail message.ObjectFactoryException
(String message) Constructs a new exception with the specified detail message.ObjectFactoryException
(String message, Exception cause) Creates a new exception. -
Method Summary
Methods inherited from class org.jfree.util.StackableException
getParent, printStackTrace, printStackTrace, printStackTrace
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
-
Constructor Details
-
ObjectFactoryException
public ObjectFactoryException()Constructs a new exception withnull
as its detail message. The cause is not initialized, and may subsequently be initialized by a call toThrowable.initCause(java.lang.Throwable)
. -
ObjectFactoryException
Constructs a new exception with the specified detail message. The cause is not initialized, and may subsequently be initialized by a call toThrowable.initCause(java.lang.Throwable)
.- Parameters:
message
- the detail message. The detail message is saved for later retrieval by theThrowable.getMessage()
method.
-
ObjectFactoryException
Creates a new exception.- Parameters:
message
- the message.cause
- the cause of the exception.
-