Klasse HttpForbiddenException

Alle implementierten Schnittstellen:
Serializable

@ResponseStatus(FORBIDDEN) public final class HttpForbiddenException extends HttpClientErrorException
This exception corresponds to the HTTP 403 status code.
Siehe auch:
  • Konstruktordetails

    • HttpForbiddenException

      public HttpForbiddenException()
      Create a HTTP exception with the status code 403 Forbidden.
    • HttpForbiddenException

      public HttpForbiddenException(String p_strMessage)
      Create a HTTP exception with the status code 403 Forbidden.
      Parameter:
      p_strMessage - An error message that can be later retrieved by the Throwable.getMessage() method.
    • HttpForbiddenException

      public HttpForbiddenException(Throwable p_cause)
      Create a HTTP exception with the status code 403 Forbidden.
      Parameter:
      p_cause - The cause that can be later retrieved by the Throwable.getCause() method.
    • HttpForbiddenException

      public HttpForbiddenException(String p_strMessage, Throwable p_cause)
      Create a HTTP exception with the status code 403 Forbidden.
      Parameter:
      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.
  • Methodendetails

    • getStatus

      public int getStatus()
      Beschreibung aus Klasse kopiert: HttpErrorException
      Get the HTTP status associated with this error.
      Setzt außer Kraft:
      getStatus in Klasse HttpErrorException
      Gibt zurück:
      The HTTP status code 403 Forbidden.