Class SigTest.SetupException
java.lang.Object
java.lang.Throwable
java.lang.Exception
ee.jakarta.tck.concurrent.common.signature.SigTest.SetupException
- All Implemented Interfaces:
Serializable
- Enclosing class:
- SigTest
This exception is used only by EETest. Overrides 3 printStackTrace methods to
preserver the original stack trace. Using setStackTraceElement() would be
more elegant but it is not available prior to j2se 1.4.
- Author:
- Kyle Grucci
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSetupException
(String msg) creates a Fault with a messageSetupException
(String msg, Exception e) creates a SetupException with a message -
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
-
Constructor Details
-
SetupException
creates a Fault with a message -
SetupException
creates a SetupException with a message- Parameters:
msg
- the messagee
- prints this exception's stacktrace
-
-
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
-