Class TestFailureException

java.lang.Object
java.lang.Throwable
java.lang.Exception
ee.jakarta.tck.ws.rs.common.webclient.TestFailureException
All Implemented Interfaces:
Serializable

public class TestFailureException extends Exception
Signifies a failure at some point during a test cycle.
See Also:
  • Constructor Details

    • TestFailureException

      public TestFailureException()
      Creates a new instance of TestFailureException without a detailed message.
    • TestFailureException

      public TestFailureException(Throwable t)
      Creates a new instance of TestFailureException containing the root cause of the test failure.
      Parameters:
      t - - root cause
    • TestFailureException

      public TestFailureException(String msg)
      Creates a new instance of TestFailureException with the specified detail message.
      Parameters:
      msg - - the detail message.
    • TestFailureException

      public TestFailureException(String msg, Throwable t)
      Creates a new instance of TestFailureException with the specified detail message, and the root cause of the test failure
      Parameters:
      msg - - the detail message
      t - - root cause
  • Method Details

    • getRootCause

      public Throwable getRootCause()
      Returns, if any, the root cause of this Exception.
      Returns:
      the root cause of this exception, or null