public class ReverseProxyException extends Exception
ReverseProxyException
class defines a general exception
that an http reverse proxy component can throw when it is unable to perform its operation
successfully.Constructor and Description |
---|
ReverseProxyException()
Constructs a new HttpReverseProxyException exception.
|
ReverseProxyException(int statusCode)
Constructs a new HttpReverseProxyException exception.
|
ReverseProxyException(int statusCode,
String message)
Constructs a new HttpReverseProxyException exception with the given message.
|
ReverseProxyException(int statusCode,
String msg,
Throwable nested)
Constructs a new HttpReverseProxyException exception when the container needs to do
the following:
throw an exception
include the "nested" exception
include a description message
|
ReverseProxyException(int statusCode,
Throwable nested)
Constructs a new HttpReverseProxyException exception with the nested exception.
|
ReverseProxyException(String message)
Constructs a new HttpReverseProxyException exception with the given message.
|
ReverseProxyException(String msg,
Throwable nested)
Constructs a new HttpReverseProxyException exception when the container needs to do
the following:
throw an exception
include the "nested" exception
include a description message
|
ReverseProxyException(Throwable nested)
Constructs a new HttpReverseProxyException exception with the nested exception.
|
Modifier and Type | Method and Description |
---|---|
int |
getStatusCode()
Returns HTTP Response status code
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ReverseProxyException()
public ReverseProxyException(int statusCode)
statusCode
- the HTTP Response status codepublic ReverseProxyException(String message)
message
- the exception messagepublic ReverseProxyException(int statusCode, String message)
statusCode
- the HTTP Response status codemessage
- the exception messagepublic ReverseProxyException(Throwable nested)
nested
- the nested exceptionpublic ReverseProxyException(int statusCode, Throwable nested)
statusCode
- the HTTP Response status codenested
- the nested exceptionpublic ReverseProxyException(String msg, Throwable nested)
msg
- the exception messagenested
- the nested exceptionpublic ReverseProxyException(int statusCode, String msg, Throwable nested)
statusCode
- the HTTP Response status codemsg
- the exception messagenested
- the nested exceptionCopyright © 2008–2015 The Apache Software Foundation. All rights reserved.