Package com.lowagie.text
Class DocumentException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.lowagie.text.DocumentException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
BadElementException,PdfException
Signals that an error has occurred in a
Document.-
Constructor Summary
ConstructorsConstructorDescriptionConstructs aDocumentExceptionwithout a message.Creates a Document exception.DocumentException(String message) Constructs aDocumentExceptionwith a message.DocumentException(String message, Throwable cause) Constructs aDocumentExceptionwith a message. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
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
Constructs aDocumentExceptionwith a message.- Parameters:
message- a message describing the exceptioncause- The cause
-