Package de.uplanet.net.http
Klasse HttpServiceUnavailableException
java.lang.Object
java.lang.Throwable
java.lang.Exception
de.uplanet.net.http.HttpErrorException
de.uplanet.net.http.HttpServerErrorException
de.uplanet.net.http.HttpServiceUnavailableException
- Alle implementierten Schnittstellen:
Serializable
@ResponseStatus(SERVICE_UNAVAILABLE)
public final class HttpServiceUnavailableException
extends HttpServerErrorException
- Siehe auch:
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungCreate a HTTP exception with the status code503 Service Unavailable.HttpServiceUnavailableException(String p_strMessage) Create a HTTP exception with the status code503 Service Unavailable.HttpServiceUnavailableException(String p_strMessage, Throwable p_cause) Create a HTTP exception with the status code503 Service Unavailable.HttpServiceUnavailableException(Throwable p_cause) Create a HTTP exception with the status code503 Service Unavailable. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungintGet the HTTP status associated with this error.Von Klasse geerbte Methoden de.uplanet.net.http.HttpErrorException
getStatusMessageVon Klasse geerbte Methoden java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Konstruktordetails
-
HttpServiceUnavailableException
public HttpServiceUnavailableException()Create a HTTP exception with the status code503 Service Unavailable. -
HttpServiceUnavailableException
Create a HTTP exception with the status code503 Service Unavailable.- Parameter:
p_strMessage- An error message that can be later retrieved by theThrowable.getMessage()method.
-
HttpServiceUnavailableException
Create a HTTP exception with the status code503 Service Unavailable.- Parameter:
p_cause- The cause that can be later retrieved by theThrowable.getCause()method.
-
HttpServiceUnavailableException
Create a HTTP exception with the status code503 Service Unavailable.- Parameter:
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.
-
-
Methodendetails
-
getStatus
public int getStatus()Beschreibung aus Klasse kopiert:HttpErrorExceptionGet the HTTP status associated with this error.- Setzt außer Kraft:
getStatusin KlasseHttpErrorException- Gibt zurück:
- The HTTP status code
503 Service Unavailable.
-