org.jfree.xml.factory.objects

Class ObjectFactoryException


public class ObjectFactoryException
extends StackableException

An exception that is thrown, if the creation of an Object failed in the ObjectFactory implementation.
Author:
Thomas Morgner.

Constructor Summary

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.

Method Summary

Methods inherited from class org.jfree.util.StackableException

getParent, printStackTrace, printStackTrace, printStackTrace

Constructor Details

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 ObjectFactoryException.

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 ObjectFactoryException.
Parameters:
message - the detail message. The detail message is saved for later retrieval by the getMessage() method.

ObjectFactoryException

public ObjectFactoryException(String message,
                              Exception cause)
Creates a new exception.
Parameters:
message - the message.
cause - the cause of the exception.