Package org.glassfish.jersey.test.spi
Class TestContainerException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.glassfish.jersey.test.spi.TestContainerException
-
- All Implemented Interfaces:
Serializable
public class TestContainerException extends RuntimeException
Thrown when a test container-specific error occurs.- Author:
- Paul Sandoz
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TestContainerException()
Construct a new instance with no message.TestContainerException(String message)
Construct a new instance with a message.TestContainerException(String message, Throwable cause)
Construct a new instance with a message and a cause.TestContainerException(Throwable cause)
Construct a new instance with a cause.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
TestContainerException
public TestContainerException()
Construct a new instance with no message.
-
TestContainerException
public TestContainerException(String message)
Construct a new instance with a message.- Parameters:
message
- the message
-
TestContainerException
public TestContainerException(String message, Throwable cause)
Construct a new instance with a message and a cause.- Parameters:
message
- the message.cause
- the Throwable that caused the exception to be thrown.
-
TestContainerException
public TestContainerException(Throwable cause)
Construct a new instance with a cause.- Parameters:
cause
- the Throwable that caused the exception to be thrown.
-
-