Package org.xmlunit
Class XMLUnitException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.xmlunit.XMLUnitException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ConfigurationException
public class XMLUnitException extends RuntimeException
Base class of any Exception thrown within XMLUnit.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description XMLUnitException(String message)Initializes an exception without cause.XMLUnitException(String message, Throwable cause)Initializes the exception.XMLUnitException(Throwable cause)Initializes an exception using the wrapped exception's message.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
XMLUnitException
public XMLUnitException(String message, Throwable cause)
Initializes the exception.- Parameters:
message- the detail messagecause- the root cause of the exception
-
XMLUnitException
public XMLUnitException(String message)
Initializes an exception without cause.- Parameters:
message- the detail message
-
XMLUnitException
public XMLUnitException(Throwable cause)
Initializes an exception using the wrapped exception's message.- Parameters:
cause- the root cause of the exception
-
-