ch.elca.el4j.services.xmlmerge
Class DocumentException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by ch.elca.el4j.services.xmlmerge.AbstractXmlMergeException
              extended by ch.elca.el4j.services.xmlmerge.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:
Serialized Form
File-location:
DocumentException
Last check-in date:
2009-08-04 14:25:40 +0200 (Di, 04. Aug 2009) by swismer for revision 3874

Constructor Summary
DocumentException(org.jdom.Document document, String message)
          Constructor with message.
DocumentException(org.jdom.Document document, Throwable cause)
          Constructor with cause.
 
Method Summary
 org.jdom.Document getDocument()
           
 void setDocument(org.jdom.Document document)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DocumentException

public DocumentException(org.jdom.Document document,
                         String message)
Constructor with message.

Parameters:
document - Document which caused the exception
message - Exception message

DocumentException

public DocumentException(org.jdom.Document document,
                         Throwable cause)
Constructor with cause.

Parameters:
document - Document which caused the exception
cause - Exception cause
Method Detail

getDocument

public org.jdom.Document getDocument()
Returns:
Returns the document.

setDocument

public void setDocument(org.jdom.Document document)
Parameters:
document - Is the document to set.


Copyright © 2005-2011 ELCA. All Rights Reserved.