com.ibm.zosconnect.spi
Class InterceptorException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.ibm.zosconnect.spi.InterceptorException
-
- All Implemented Interfaces:
- java.io.Serializable
public class InterceptorException extends java.lang.Exception
A InterceptorException is thrown to indicate that the OSGI service implementing theInterceptor
SPI encountered an error.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description int
getHttpServletResponseCode()
Returns the HTTP servlet response code of this Throwable.
-
-
-
Constructor Detail
-
InterceptorException
public InterceptorException(java.lang.String message)
Constructs a new instance with the specified detail message.- Parameters:
message
- The detail message.
-
InterceptorException
public InterceptorException(java.lang.String message, int httpServletResponseCode)
Constructs a new instance with the specified detail message and HTTP servlet response code.- Parameters:
message
- The detail message.httpServletResponseCode
- The HTTP servlet response code.
-
InterceptorException
public InterceptorException(java.lang.String message, java.lang.Throwable throwable)
Constructs a new instance with the specified detail message and cause.- Parameters:
message
- The detail message.throwable
- The cause of type Throwable.
-
InterceptorException
public 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.- Parameters:
message
- The detail message.throwable
- The cause of type Throwable.httpServletResponseCode
- The HTTP servlet response code.
-
-