Class XMLUnitException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.custommonkey.xmlunit.exceptions.XMLUnitException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
XpathException

public abstract class XMLUnitException extends Exception
Base class of any checked exception that can be thrown within XMLUnit.
See Also:
  • Constructor Details

    • XMLUnitException

      protected XMLUnitException(String message, Throwable cause)
      Inititializes the exeption.
      Parameters:
      message - the detail message
      cause - the root cause of the exception
  • Method Details

    • getCause

      public Throwable getCause()
      Root cause of the exception, if any.
      Overrides:
      getCause in class Throwable
      Returns:
      root cause of the exception