Class XMLUnitRuntimeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.custommonkey.xmlunit.exceptions.XMLUnitRuntimeException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ConfigurationException
public class XMLUnitRuntimeException extends RuntimeException
Base class of any RuntimeException that can be thrown within XMLUnit.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description XMLUnitRuntimeException(String message)Inititializes an exeption without cause.XMLUnitRuntimeException(String message, Throwable cause)Inititializes the exeption.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ThrowablegetCause()Root cause of the exception, if any.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
XMLUnitRuntimeException
public XMLUnitRuntimeException(String message, Throwable cause)
Inititializes the exeption.- Parameters:
message- the detail messagecause- the root cause of the exception
-
XMLUnitRuntimeException
public XMLUnitRuntimeException(String message)
Inititializes an exeption without cause.- Parameters:
message- the detail message
-
-