Package de.uplanet.net.http
Class HttpForbiddenException
java.lang.Object
java.lang.Throwable
java.lang.Exception
de.uplanet.net.http.HttpErrorException
de.uplanet.net.http.HttpClientErrorException
de.uplanet.net.http.HttpForbiddenException
- All Implemented Interfaces:
- Serializable
This exception corresponds to the HTTP 403 status code.
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionCreate a HTTP exception with the status code403 Forbidden.HttpForbiddenException(String p_strMessage) Create a HTTP exception with the status code403 Forbidden.HttpForbiddenException(String p_strMessage, Throwable p_cause) Create a HTTP exception with the status code403 Forbidden.HttpForbiddenException(Throwable p_cause) Create a HTTP exception with the status code403 Forbidden.
- 
Method SummaryModifier and TypeMethodDescriptionintGet the HTTP status associated with this error.Methods inherited from class de.uplanet.net.http.HttpErrorExceptiongetStatusMessageMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
HttpForbiddenExceptionpublic HttpForbiddenException()Create a HTTP exception with the status code403 Forbidden.
- 
HttpForbiddenExceptionCreate a HTTP exception with the status code403 Forbidden.- Parameters:
- p_strMessage- An error message that can be later retrieved by the- Throwable.getMessage()method.
 
- 
HttpForbiddenExceptionCreate a HTTP exception with the status code403 Forbidden.- Parameters:
- p_cause- The cause that can be later retrieved by the- Throwable.getCause()method.
 
- 
HttpForbiddenExceptionCreate a HTTP exception with the status code403 Forbidden.- Parameters:
- p_strMessage- An error message that can be later retrieved by the- Throwable.getMessage()method.
- p_cause- The cause that can be later retrieved by the- Throwable.getCause()method.
 
 
- 
- 
Method Details- 
getStatuspublic int getStatus()Description copied from class:HttpErrorExceptionGet the HTTP status associated with this error.- Overrides:
- getStatusin class- HttpErrorException
- Returns:
- The HTTP status code 403 Forbidden.
 
 
-