Klasse HttpServiceUnavailableException

Alle implementierten Schnittstellen:
Serializable

@ResponseStatus(SERVICE_UNAVAILABLE) public final class HttpServiceUnavailableException extends HttpServerErrorException
Siehe auch:
  • Konstruktordetails

    • HttpServiceUnavailableException

      public HttpServiceUnavailableException()
      Create a HTTP exception with the status code 503 Service Unavailable.
    • HttpServiceUnavailableException

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

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

      public HttpServiceUnavailableException(String p_strMessage, Throwable p_cause)
      Create a HTTP exception with the status code 503 Service Unavailable.
      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 503 Service Unavailable.