public class DocumentException
extends java.lang.Exception
Document.BadElementException,
Document,
DocWriter,
DocListener,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
private static long |
serialVersionUID
A serial version UID
|
| Constructor and Description |
|---|
DocumentException()
Constructs a
DocumentException without a message. |
DocumentException(java.lang.Exception ex)
Creates a Document exception.
|
DocumentException(java.lang.String message)
Constructs a
DocumentException with a message. |
private static final long serialVersionUID
public DocumentException(java.lang.Exception ex)
ex - an exception that has to be turned into a DocumentExceptionpublic DocumentException()
DocumentException without a message.public DocumentException(java.lang.String message)
DocumentException with a message.message - a message describing the exception