public class ObjectFactoryException extends Exception
Constructor and Description |
---|
ObjectFactoryException()
Constructs a new exception with
null 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.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ObjectFactoryException()
null
as its detail message. The cause is not initialized, and may
subsequently be initialized by a call to Throwable.initCause(java.lang.Throwable)
.public ObjectFactoryException(String message)
Throwable.initCause(java.lang.Throwable)
.message
- the detail message. The detail message is saved for later retrieval by the Throwable.getMessage()
method.