org.apache.stylebook
Class CreationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.stylebook.CreationException
All Implemented Interfaces:
java.io.Serializable

public class CreationException
extends java.lang.Exception

A CreationException is thrown whenever an Entry cannot be produced for any reason.

Version:
CVS $Revision: 313195 $ $Date: 1999-11-15 22:08:18 +0000 (Mon, 15 Nov 1999) $
Author:
Pierpaolo Fumagalli, Copyright 1999 © The Apache Software Foundation. All rights reserved.
See Also:
Serialized Form

Constructor Summary
CreationException()
          Create a new CreationException instance.
CreationException(org.w3c.dom.Document d)
          Create a new CreationException instance with a specified invalid document.
CreationException(java.lang.Exception e)
          Create a new CreationException instance with a specified nested exception.
CreationException(java.lang.Exception e, org.w3c.dom.Document d)
          Create a new CreationException instance with a specified nested exception and a specified invalid document.
CreationException(java.lang.String m)
          Create a new CreationException instance with a specified detail message.
CreationException(java.lang.String m, org.w3c.dom.Document d)
          Create a new CreationException instance with a specified detail message and a specified invalid document.
CreationException(java.lang.String m, java.lang.Exception e)
          Create a new CreationException instance with a specified detail message and a specified nested exception.
CreationException(java.lang.String m, java.lang.Exception e, org.w3c.dom.Document d)
          Create a new CreationException instance with a specified detail message, a specified nested exception and a specified invalid document.
 
Method Summary
 org.w3c.dom.Document getDocument()
          Retrieve the invalid document of this CreationException.
 java.lang.Exception getException()
          Retrieve the nested exception of this CreationException.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CreationException

public CreationException()
Create a new CreationException instance.


CreationException

public CreationException(java.lang.String m)
Create a new CreationException instance with a specified detail message.

Parameters:
m - The detail message.

CreationException

public CreationException(java.lang.Exception e)
Create a new CreationException instance with a specified nested exception.

Parameters:
e - The nested exception.

CreationException

public CreationException(org.w3c.dom.Document d)
Create a new CreationException instance with a specified invalid document.

Parameters:
d - The invalid document.

CreationException

public CreationException(java.lang.String m,
                         java.lang.Exception e)
Create a new CreationException instance with a specified detail message and a specified nested exception.

Parameters:
m - The detail message.
e - The nested exception.

CreationException

public CreationException(java.lang.String m,
                         org.w3c.dom.Document d)
Create a new CreationException instance with a specified detail message and a specified invalid document.

Parameters:
m - The detail message.
d - The invalid document.

CreationException

public CreationException(java.lang.Exception e,
                         org.w3c.dom.Document d)
Create a new CreationException instance with a specified nested exception and a specified invalid document.

Parameters:
e - The nested exception.
d - The invalid document.

CreationException

public CreationException(java.lang.String m,
                         java.lang.Exception e,
                         org.w3c.dom.Document d)
Create a new CreationException instance with a specified detail message, a specified nested exception and a specified invalid document.

Parameters:
m - The detail message.
e - The nested exception.
d - The invalid document.
Method Detail

getException

public java.lang.Exception getException()
Retrieve the nested exception of this CreationException.

Returns:
The invalid document or null if this wasn't specified.

getDocument

public org.w3c.dom.Document getDocument()
Retrieve the invalid document of this CreationException.

Returns:
The invalid document or null if this wasn't specified.