Package de.uplanet.net.http
Class HttpClientErrorException
java.lang.Object
java.lang.Throwable
java.lang.Exception
de.uplanet.net.http.HttpErrorException
de.uplanet.net.http.HttpClientErrorException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
HttpBadRequestException
,HttpForbiddenException
,HttpMethodNotAllowedException
,HttpNotFoundException
,HttpRangeNotSatisfiableException
,HttpUnauthorizedException
- See Also:
-
Constructor Summary
ConstructorDescriptionHttpClientErrorException
(int p_iStatus) Create a HTTP client exception with the given status code in the range from 400 to 499.HttpClientErrorException
(int p_iStatus, String p_strMessage) Create a HTTP client exception with the given status code in the range from 400 to 499.HttpClientErrorException
(int p_iStatus, String p_strMessage, Throwable p_cause) Create a HTTP client exception with the given status code in the range from 400 to 499.HttpClientErrorException
(int p_iStatus, Throwable p_cause) Create a HTTP client exception with the given status code in the range from 400 to 499. -
Method Summary
Methods inherited from class de.uplanet.net.http.HttpErrorException
getStatus, getStatusMessage
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
HttpClientErrorException
public HttpClientErrorException(int p_iStatus) Create a HTTP client exception with the given status code in the range from 400 to 499.- Parameters:
p_iStatus
- The status code.
-
HttpClientErrorException
Create a HTTP client exception with the given status code in the range from 400 to 499.- Parameters:
p_iStatus
- The status code.p_strMessage
- An error message that can be later retrieved by theThrowable.getMessage()
method.
-
HttpClientErrorException
Create a HTTP client exception with the given status code in the range from 400 to 499.- Parameters:
p_iStatus
- The status code.p_cause
- The cause that can be later retrieved by theThrowable.getCause()
method.
-
HttpClientErrorException
Create a HTTP client exception with the given status code in the range from 400 to 499.- Parameters:
p_iStatus
- The status code.p_strMessage
- An error message that can be later retrieved by theThrowable.getMessage()
method.p_cause
- The cause that can be later retrieved by theThrowable.getCause()
method.
-