Class TestFailureException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.sun.ts.tests.common.webclient.TestFailureException
- All Implemented Interfaces:
- Serializable
Signifies a failure at some point during a test cycle.
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionCreates a new instance ofTestFailureExceptionwithout a detailed message.Creates a new instance ofTestFailureExceptionwith the specified detail message.TestFailureException(String msg, Throwable t) Creates a new instance ofTestFailureExceptionwith the specified detail message, and the root cause of the test failureCreates a new instance ofTestFailureExceptioncontaining the root cause of the test failure.
- 
Method SummaryModifier and TypeMethodDescriptionReturns, if any, the root cause of this Exception.Methods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
TestFailureExceptionpublic TestFailureException()Creates a new instance ofTestFailureExceptionwithout a detailed message.
- 
TestFailureExceptionCreates a new instance ofTestFailureExceptioncontaining the root cause of the test failure.- Parameters:
- t- - root cause
 
- 
TestFailureExceptionCreates a new instance ofTestFailureExceptionwith the specified detail message.- Parameters:
- msg- - the detail message.
 
- 
TestFailureExceptionCreates a new instance ofTestFailureExceptionwith the specified detail message, and the root cause of the test failure- Parameters:
- msg- - the detail message
- t- - root cause
 
 
- 
- 
Method Details- 
getRootCauseReturns, if any, the root cause of this Exception.- Returns:
- the root cause of this exception, or null
 
 
-