Class DocumentException

All Implemented Interfaces:
Serializable

public class DocumentException extends AbstractXmlMergeException
Thrown when something is wrong with a source or output document.
Author:
Laurent Bovet (LBO), Alex Mathey (AMA)
See Also:
  • Constructor Details

    • DocumentException

      public DocumentException(org.jdom2.Document document, String message)
      Constructor with message.
      Parameters:
      document - Document which caused the exception
      message - Exception message
    • DocumentException

      public DocumentException(org.jdom2.Document document, Throwable cause)
      Constructor with cause.
      Parameters:
      document - Document which caused the exception
      cause - 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.