Package ch.galinet.xml.xmlmerge
Class ElementException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
ch.galinet.xml.xmlmerge.AbstractXmlMergeException
ch.galinet.xml.xmlmerge.ElementException
- All Implemented Interfaces:
Serializable
Thrown when there is something wrong with an element.
- Author:
- Laurent Bovet (LBO), Alex Mathey (AMA)
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionElementException(org.jdom2.Element element) Constructor.ElementException(org.jdom2.Element element, String message) Constructor with message.ElementException(org.jdom2.Element element, Throwable cause) Constructor with cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ElementException
public ElementException(org.jdom2.Element element) Constructor.- Parameters:
element- Element which caused the exception
-
ElementException
Constructor with message.- Parameters:
element- Element which caused the exceptionmessage- Exception message
-
ElementException
Constructor with cause.- Parameters:
element- Element which caused the exceptioncause- Exception cause
-
-
Method Details
-
getElement
public org.jdom2.Element getElement()- Returns:
- Returns the element.
-
setElement
public void setElement(org.jdom2.Element element) - Parameters:
element- Is the element to set.
-