public class ContainerException
extends java.lang.RuntimeException
This exception may be thrown by the application signaling that the container should handle the exception to produce an appropriate HTTP response.
This exception may also be thrown by the runtime if an exception occurs that should be handled by the container.
Constructor and Description |
---|
ContainerException()
Construct a new instance with the supplied message
|
ContainerException(java.lang.String message)
Construct a new instance with the supplied message
|
ContainerException(java.lang.String message,
java.lang.Throwable cause)
Construct a new instance with the supplied message and cause
|
ContainerException(java.lang.Throwable cause)
Construct a new instance with the supplied cause
|
public ContainerException()
public ContainerException(java.lang.String message)
message
- the messagepublic ContainerException(java.lang.String message, java.lang.Throwable cause)
message
- the messagecause
- the Throwable that caused the exception to be thrownpublic ContainerException(java.lang.Throwable cause)
cause
- the Throwable that caused the exception to be thrownCopyright © 2016 Oracle Corporation. All Rights Reserved.