Package de.uplanet.net.http
Class HttpServerErrorException
java.lang.Object
java.lang.Throwable
java.lang.Exception
de.uplanet.net.http.HttpErrorException
de.uplanet.net.http.HttpServerErrorException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
HttpInternalServerErrorException,HttpServiceUnavailableException
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionHttpServerErrorException(int p_iStatus) Create a HTTP server exception with the given status code in the range from 500 to 599.HttpServerErrorException(int p_iStatus, String p_strMessage) Create a HTTP server exception with the given status code in the range from 500 to 599.HttpServerErrorException(int p_iStatus, String p_strMessage, Throwable p_cause) Create a HTTP server exception with the given status code in the range from 500 to 599.HttpServerErrorException(int p_iStatus, Throwable p_cause) Create a HTTP server exception with the given status code in the range from 500 to 599. -
Method Summary
Methods inherited from class de.uplanet.net.http.HttpErrorException
getStatus, getStatusMessageMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
HttpServerErrorException
public HttpServerErrorException(int p_iStatus) Create a HTTP server exception with the given status code in the range from 500 to 599.- Parameters:
p_iStatus- The status code.
-
HttpServerErrorException
Create a HTTP server exception with the given status code in the range from 500 to 599.- Parameters:
p_iStatus- The status code.p_strMessage- An error message that can be later retrieved by theThrowable.getMessage()method.
-
HttpServerErrorException
Create a HTTP server exception with the given status code in the range from 500 to 599.- Parameters:
p_iStatus- The status code.p_cause- The cause that can be later retrieved by theThrowable.getCause()method.
-
HttpServerErrorException
Create a HTTP server exception with the given status code in the range from 500 to 599.- 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.
-