| java.lang.Object java.lang.Throwable java.lang.Exception org.w3c.www.protocol.http.HttpException
HttpException | public class HttpException extends Exception (Code) | | Exception thrown when processing a request failed.
|
Constructor Summary | |
public | HttpException(Request request, Reply reply, String msg) | public | HttpException(Request request, Reply reply, Exception ex, String msg) | public | HttpException(Request request, Reply reply, Exception ex) | public | HttpException(Reply reply, String msg) | public | HttpException(Request request, String msg) | public | HttpException(Reply reply, Exception ex) | public | HttpException(Request request, Exception ex) | public | HttpException(Exception ex, String msg) |
Method Summary | |
final public Exception | getException() Get the original cause for this exception.
HttpException can be used to wrap up transport layer problems (such
as IOException or other SocketException, etc). | final public Reply | getReply() | final public Request | getRequest() Get the request that triggered this exception. |
getException | final public Exception getException()(Code) | | Get the original cause for this exception.
HttpException can be used to wrap up transport layer problems (such
as IOException or other SocketException, etc). In that case, this method
will return the original exception that occured.
An Exception instance, or null. |
getReply | final public Reply getReply()(Code) | | Get the reply generated (if any)
A Request instance. |
getRequest | final public Request getRequest()(Code) | | Get the request that triggered this exception.
A Request instance. |
|
|