public class DocumentException extends RuntimeException
Document
.BadElementException
,
Document
,
DocWriter
,
DocListener
,
Serialized FormConstructor and Description |
---|
DocumentException()
Constructs a
DocumentException without a message. |
DocumentException(Exception ex)
Creates a Document exception.
|
DocumentException(String message)
Constructs a
DocumentException with a message. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public DocumentException(Exception ex)
ex
- an exception that has to be turned into a DocumentExceptionpublic DocumentException()
DocumentException
without a message.public DocumentException(String message)
DocumentException
with a message.message
- a message describing the exceptionCopyright © 2018. All rights reserved.