Package org.xmlunit

Class XMLUnitException

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    ConfigurationException

    public class XMLUnitException
    extends java.lang.RuntimeException
    Base class of any Exception thrown within XMLUnit.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static long serialVersionUID  
    • Constructor Summary

      Constructors 
      Constructor Description
      XMLUnitException​(java.lang.String message)
      Inititializes an exception without cause.
      XMLUnitException​(java.lang.String message, java.lang.Throwable cause)
      Inititializes the exception.
      XMLUnitException​(java.lang.Throwable cause)
      Inititializes 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • XMLUnitException

        public XMLUnitException​(java.lang.String message,
                                java.lang.Throwable cause)
        Inititializes the exception.
        Parameters:
        message - the detail message
        cause - the root cause of the exception
      • XMLUnitException

        public XMLUnitException​(java.lang.String message)
        Inititializes an exception without cause.
        Parameters:
        message - the detail message
      • XMLUnitException

        public XMLUnitException​(java.lang.Throwable cause)
        Inititializes an exception using the wrapped exception's message.
        Parameters:
        cause - the root cause of the exception