org.pentaho.reporting.engine.classic.core.modules.parser.ext.factory.base
Class ObjectFactoryException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.pentaho.reporting.libraries.base.util.StackableException
org.pentaho.reporting.engine.classic.core.modules.parser.ext.factory.base.ObjectFactoryException
- All Implemented Interfaces:
- Serializable
public class ObjectFactoryException
- extends org.pentaho.reporting.libraries.base.util.StackableException
An exception that is thrown, if the creation of an Object failed in the ObjectFactory implementation.
- Author:
- Thomas Morgner.
- See Also:
- Serialized Form
Methods inherited from class org.pentaho.reporting.libraries.base.util.StackableException |
getMessage, getParent, getParentThrowable, printStackTrace, printStackTrace, printStackTrace, toString |
ObjectFactoryException
public ObjectFactoryException()
- Constructs a new exception with
null
as its detail message. The cause is not initialized, and may
subsequently be initialized by a call to Throwable.initCause(java.lang.Throwable)
.
ObjectFactoryException
public ObjectFactoryException(String message)
- Constructs a new exception with the specified detail message. The cause is not initialized, and may subsequently
be initialized by a call to
Throwable.initCause(java.lang.Throwable)
.
- Parameters:
message
- the detail message. The detail message is saved for later retrieval by the StackableException.getMessage()
method.
ObjectFactoryException
public ObjectFactoryException(String message,
Exception cause)
- Creates a new exception.
- Parameters:
message
- the message.cause
- the cause of the exception.