Package ee.jakarta.tck.ws.rs.common
Class JAXRSCommonClient.Fault
java.lang.Object
java.lang.Throwable
java.lang.Exception
ee.jakarta.tck.ws.rs.common.JAXRSCommonClient.Fault
- All Implemented Interfaces:
Serializable
- Enclosing class:
- JAXRSCommonClient
This exception must be thrown to signify a
test failure. Overrides 3 printStackTrace methods to preserve the original
stack trace.
- Author:
- Kyle Grucci
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCause()
void
Prints this Throwable and its backtrace to the standard error stream.void
Prints this throwable and its backtrace to the specified print stream.void
Prints this throwable and its backtrace to the specified print writer.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, setStackTrace, toString
-
Field Details
-
t
-
-
Constructor Details
-
Fault
creates a Fault with a message -
Fault
creates a Fault with a message.- Parameters:
msg
- the messaget
- prints this exception's stacktrace
-
Fault
creates a Fault with a Throwable.- Parameters:
t
- the Throwable
-
-
Method Details
-
printStackTrace
public void printStackTrace()Prints this Throwable and its backtrace to the standard error stream.- Overrides:
printStackTrace
in classThrowable
-
printStackTrace
Prints this throwable and its backtrace to the specified print stream.- Overrides:
printStackTrace
in classThrowable
- Parameters:
s
-PrintStream
to use for output
-
printStackTrace
Prints this throwable and its backtrace to the specified print writer.- Overrides:
printStackTrace
in classThrowable
- Parameters:
s
-PrintWriter
to use for output
-
getCause
-
initCause
-