public class DocumentException extends Exception
Document.
BadElementException, Document, DocWriter, DocListener, Serialized Form
| Constructor 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.
|
DocumentException(String message, Exception ex)
Constructs a DocumentException with a message and a Exception.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic DocumentException(Exception ex)
ex - an exception that has to be turned into a DocumentException
public DocumentException()
DocumentException without a message.
public DocumentException(String message)
DocumentException with a message.
message - a message describing the exception
Copyright © 1998–2021. All rights reserved.