Class DocumentException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.itextpdf.text.DocumentException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
BadElementException, PdfException
Signals that an error has occurred in a
Document.- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConstructs aDocumentExceptionwithout a message.Creates a Document exception.DocumentException(String message) Constructs aDocumentExceptionwith a message.DocumentException(String message, Exception ex) Constructs aDocumentExceptionwith a message and a Exception. -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDA serial version UID- See Also:
-
-
Constructor Details
-
DocumentException
Creates a Document exception.- Parameters:
ex- an exception that has to be turned into a DocumentException
-
DocumentException
public DocumentException()Constructs aDocumentExceptionwithout a message. -
DocumentException
Constructs aDocumentExceptionwith a message.- Parameters:
message- a message describing the exception
-
DocumentException
-