Class TestSetFailedException

  • All Implemented Interfaces:
    java.io.Serializable

    public class TestSetFailedException
    extends java.lang.Exception
    Exception that indicates a test failed.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      TestSetFailedException​(java.lang.String message)
      Creates TestSetFailedException with a detail message.
      TestSetFailedException​(java.lang.String message, java.lang.Throwable cause)
      Creates TestSetFailedException with the specified detail message and cause.
      TestSetFailedException​(java.lang.Throwable cause)
      Creates TestSetFailedException with the specified cause.
    • 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

      • TestSetFailedException

        public TestSetFailedException​(java.lang.String message)
        Creates TestSetFailedException with a detail message.
        Parameters:
        message - A detail message for this TestSetFailedException, or null. If null is passed, the Throwable.getMessage() method will return an empty string.
      • TestSetFailedException

        public TestSetFailedException​(java.lang.String message,
                                      java.lang.Throwable cause)
        Creates TestSetFailedException with the specified detail message and cause.

        Note that the detail message associated with cause is NOT automatically incorporated in this throwable's detail message.

        Parameters:
        message - A detail message for this TestSetFailedException, or null.
        cause - the cause, which is saved for later retrieval by the Throwable.getCause() method. (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
      • TestSetFailedException

        public TestSetFailedException​(java.lang.Throwable cause)
        Creates TestSetFailedException with the specified cause. The mthod Throwable.getMessage() method of this exception object will return cause == null ? "" : cause.toString().
        Parameters:
        cause - The cause