public class CreationException extends Exception
Constructor and Description |
---|
CreationException()
Create a new CreationException instance.
|
CreationException(Document d)
Create a new CreationException instance with a specified invalid
document.
|
CreationException(Exception e)
Create a new CreationException instance with a specified nested
exception.
|
CreationException(Exception e,
Document d)
Create a new CreationException instance with a specified nested
exception and a specified invalid document.
|
CreationException(String m)
Create a new CreationException instance with a specified detail message.
|
CreationException(String m,
Document d)
Create a new CreationException instance with a specified detail message
and a specified invalid document.
|
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.
|
Modifier and Type | Method and Description |
---|---|
Document |
getDocument()
Retrieve the invalid document of this CreationException.
|
Exception |
getException()
Retrieve the nested exception of this CreationException.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public CreationException()
public CreationException(String m)
m
- The detail message.public CreationException(Exception e)
e
- The nested exception.public CreationException(Document d)
d
- The invalid document.public CreationException(String m, Exception e)
m
- The detail message.e
- The nested exception.public CreationException(String m, Document d)
m
- The detail message.d
- The invalid document.public CreationException(Exception e, Document d)
e
- The nested exception.d
- The invalid document.public Exception getException()
public Document getDocument()