Klasse HttpNotFoundException

Alle implementierten Schnittstellen:
Serializable

@ResponseStatus(NOT_FOUND) public final class HttpNotFoundException extends HttpClientErrorException
This exception corresponds to the HTTP 404 status code.
Siehe auch:
  • Konstruktordetails

    • HttpNotFoundException

      public HttpNotFoundException()
      Create a HTTP exception with the status code 404 Not Found.
    • HttpNotFoundException

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

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

      public HttpNotFoundException(String p_strMessage, Throwable p_cause)
      Create a HTTP exception with the status code 404 Not Found.
      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 404 Not Found.