Class TestFailureException
java.lang.Object
java.lang.Throwable
java.lang.Exception
ee.jakarta.tck.ws.rs.common.webclient.TestFailureException
- All Implemented Interfaces:
Serializable
Signifies a failure at some point during a test cycle.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new instance ofTestFailureException
without a detailed message.Creates a new instance ofTestFailureException
with the specified detail message.TestFailureException
(String msg, Throwable t) Creates a new instance ofTestFailureException
with the specified detail message, and the root cause of the test failureCreates a new instance ofTestFailureException
containing the root cause of the test failure. -
Method Summary
Modifier and TypeMethodDescriptionReturns, if any, the root cause of this Exception.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
TestFailureException
public TestFailureException()Creates a new instance ofTestFailureException
without a detailed message. -
TestFailureException
Creates a new instance ofTestFailureException
containing the root cause of the test failure.- Parameters:
t
- - root cause
-
TestFailureException
Creates a new instance ofTestFailureException
with the specified detail message.- Parameters:
msg
- - the detail message.
-
TestFailureException
Creates a new instance ofTestFailureException
with the specified detail message, and the root cause of the test failure- Parameters:
msg
- - the detail messaget
- - root cause
-
-
Method Details
-
getRootCause
Returns, if any, the root cause of this Exception.- Returns:
- the root cause of this exception, or null
-