Class XMLUnitRuntimeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.custommonkey.xmlunit.exceptions.XMLUnitRuntimeException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
ConfigurationException
public class XMLUnitRuntimeException extends java.lang.RuntimeException
Base class of any RuntimeException that can be thrown within XMLUnit.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Throwable
cause
-
Constructor Summary
Constructors Constructor Description XMLUnitRuntimeException(java.lang.String message)
Inititializes an exeption without cause.XMLUnitRuntimeException(java.lang.String message, java.lang.Throwable cause)
Inititializes the exeption.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Throwable
getCause()
Root cause of the exception, if any.
-
-
-
Constructor Detail
-
XMLUnitRuntimeException
public XMLUnitRuntimeException(java.lang.String message, java.lang.Throwable cause)
Inititializes the exeption.- Parameters:
message
- the detail messagecause
- the root cause of the exception
-
XMLUnitRuntimeException
public XMLUnitRuntimeException(java.lang.String message)
Inititializes an exeption without cause.- Parameters:
message
- the detail message
-
-