Package esendex.sdk.java.http
Class HttpException
java.lang.Object
java.lang.Throwable
java.lang.Exception
esendex.sdk.java.EsendexException
esendex.sdk.java.http.HttpException
- All Implemented Interfaces:
Serializable
Thrown to indicate an Http Response code is out of the okay range 200-299.
- Author:
- Mike Whittaker
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new http exception.HttpException
(String message) Instantiates a new http exception.HttpException
(String message, Throwable cause) Instantiates a new http exception.HttpException
(Throwable cause) Instantiates a new http exception. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
HttpException
public HttpException()Instantiates a new http exception. -
HttpException
Instantiates a new http exception.- Parameters:
message
- the messagecause
- the cause
-
HttpException
Instantiates a new http exception.- Parameters:
message
- the message
-
HttpException
Instantiates a new http exception.- Parameters:
cause
- the cause
-