org.jcoderz.commons.connector.http.transport
Class HttpConnectionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.jcoderz.commons.connector.http.transport.HttpConnectionException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- HttpClientConnectionException, HttpConnectConnectionException, HttpEmptyResponseException, HttpInvalidResponseHeaderException, HttpServerConnectionException, HttpTimeoutConnectionException
public class HttpConnectionException
- extends Exception
HttpConnectionException indicates a connection failure on HTTP level.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
HttpConnectionException
public HttpConnectionException(Throwable cause)
- Constructor.
- Parameters:
cause - the root cause of problem
HttpConnectionException
public HttpConnectionException(String message,
Throwable cause)
- Constructor.
- Parameters:
message - describing the HTTP errorcause - the root cause of problem
getHttpMessage
public String getHttpMessage()
- Returns:
- Returns the message.
getStatusCode
public int getStatusCode()
- Returns:
- Returns the statusCode.
getStatusReason
public String getStatusReason()
- Returns:
- Returns the statusReason.
Copyright 2007 The jCoderZ Project.