Package com.aowagie.text
Class DocumentException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.aowagie.text.DocumentException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
BadElementException,PdfException
public class DocumentException extends java.lang.ExceptionSignals that an error has occurred in aDocument.- See Also:
BadElementException,Document,DocWriter,DocListener, Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static longserialVersionUIDA serial version UID
-
Constructor Summary
Constructors Constructor Description DocumentException()Constructs aDocumentExceptionwithout a message.DocumentException(java.lang.Exception ex)Creates a Document exception.DocumentException(java.lang.String message)Constructs aDocumentExceptionwith a message.
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
A serial version UID- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DocumentException
public DocumentException(java.lang.Exception ex)
Creates a Document exception.- Parameters:
ex- an exception that has to be turned into a DocumentException
-
DocumentException
public DocumentException()
Constructs aDocumentExceptionwithout a message.
-
DocumentException
public DocumentException(java.lang.String message)
Constructs aDocumentExceptionwith a message.- Parameters:
message- a message describing the exception
-
-