Package org.apache.stylebook
Class CreationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.stylebook.CreationException
- All Implemented Interfaces:
Serializable
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:
-
Constructor Summary
ConstructorsConstructorDescriptionCreate a new CreationException instance.Create a new CreationException instance with a specified nested exception.Create a new CreationException instance with a specified nested exception and a specified invalid document.Create a new CreationException instance with a specified detail message.CreationException
(String m, Exception e) Create a new CreationException instance with a specified detail message and a specified nested exception.CreationException
(String m, Exception e, Document d) Create a new CreationException instance with a specified detail message, a specified nested exception and a specified invalid document.CreationException
(String m, Document d) Create a new CreationException instance with a specified detail message and a specified invalid document.Create a new CreationException instance with a specified invalid document. -
Method Summary
Modifier and TypeMethodDescriptionRetrieve the invalid document of this CreationException.Retrieve the nested exception of this CreationException.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CreationException
public CreationException()Create a new CreationException instance. -
CreationException
Create a new CreationException instance with a specified detail message.- Parameters:
m
- The detail message.
-
CreationException
Create a new CreationException instance with a specified nested exception.- Parameters:
e
- The nested exception.
-
CreationException
Create a new CreationException instance with a specified invalid document.- Parameters:
d
- The invalid document.
-
CreationException
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
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
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
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 Details
-
getException
Retrieve the nested exception of this CreationException.- Returns:
- The invalid document or null if this wasn't specified.
-
getDocument
Retrieve the invalid document of this CreationException.- Returns:
- The invalid document or null if this wasn't specified.
-