Package ch.galinet.xml.xmlmerge
Class MatchException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
ch.galinet.xml.xmlmerge.AbstractXmlMergeException
ch.galinet.xml.xmlmerge.MatchException
- All Implemented Interfaces:
Serializable
Thrown when something is wrong in the matching process.
- Author:
- Laurent Bovet (LBO), Alex Mathey (AMA)
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMatchException(org.jdom2.Element element, String message) Constructor with message.MatchException(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
-
MatchException
Constructor with message.- Parameters:
element- Element which caused the exceptionmessage- Exception message
-
MatchException
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.
-