Package ch.galinet.xml.xmlmerge
Class DocumentException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
ch.galinet.xml.xmlmerge.AbstractXmlMergeException
ch.galinet.xml.xmlmerge.DocumentException
- All Implemented Interfaces:
Serializable
Thrown when something is wrong with a source or output document.
- Author:
- Laurent Bovet (LBO), Alex Mathey (AMA)
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDocumentException(org.jdom2.Document document, String message) Constructor with message.DocumentException(org.jdom2.Document document, Throwable cause) Constructor with cause. -
Method Summary
Modifier and TypeMethodDescriptionorg.jdom2.DocumentvoidsetDocument(org.jdom2.Document document) Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
DocumentException
Constructor with message.- Parameters:
document- Document which caused the exceptionmessage- Exception message
-
DocumentException
Constructor with cause.- Parameters:
document- Document which caused the exceptioncause- Exception cause
-
-
Method Details
-
getDocument
public org.jdom2.Document getDocument()- Returns:
- Returns the document.
-
setDocument
public void setDocument(org.jdom2.Document document) - Parameters:
document- Is the document to set.
-