public class InterceptorException
extends java.lang.Exception
Interceptor
SPI encountered an error.Constructor and Description |
---|
InterceptorException()
Constructs a new instance with null as its detail message and cause.
|
InterceptorException(int httpServletResponseCode)
Constructs a new instance with a HTTP response code and a null detail message and cause.
|
InterceptorException(java.lang.String message)
Constructs a new instance with the specified detail message.
|
InterceptorException(java.lang.String message,
int httpServletResponseCode)
Constructs a new instance with the specified detail message and HTTP servlet response code.
|
InterceptorException(java.lang.String message,
java.lang.Throwable throwable)
Constructs a new instance with the specified detail message and cause.
|
InterceptorException(java.lang.String message,
java.lang.Throwable throwable,
int httpServletResponseCode)
Constructs a new instance with the specified detailed message, cause, and HTTP servlet response code.
|
InterceptorException(java.lang.Throwable throwable)
Constructs a new instance with the specified cause.
|
InterceptorException(java.lang.Throwable throwable,
int httpServletResponseCode)
Constructs a new instance with the specified cause and HTTP servlet response code.
|
Modifier and Type | Method and Description |
---|---|
int |
getHttpServletResponseCode()
Returns the HTTP servlet response code of this Throwable.
|
public InterceptorException()
public InterceptorException(int httpServletResponseCode)
httpServletResponseCode
- The HTTP servlet response code to return to the caller.public InterceptorException(java.lang.String message)
message
- The detail message.public InterceptorException(java.lang.String message, int httpServletResponseCode)
message
- The detail message.httpServletResponseCode
- The HTTP servlet response code.public InterceptorException(java.lang.Throwable throwable)
throwable
- The cause of type Throwable.public InterceptorException(java.lang.Throwable throwable, int httpServletResponseCode)
throwable
- The cause of type Throwable.httpServletResponseCode
- The HTTP servlet response code.public InterceptorException(java.lang.String message, java.lang.Throwable throwable)
message
- The detail message.throwable
- The cause of type Throwable.public InterceptorException(java.lang.String message, java.lang.Throwable throwable, int httpServletResponseCode)
message
- The detail message.throwable
- The cause of type Throwable.httpServletResponseCode
- The HTTP servlet response code.