Package org.yamcs.http
Class ServiceUnavailableException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.yamcs.http.HttpException
-
- org.yamcs.http.ServiceUnavailableException
-
- All Implemented Interfaces:
Serializable
public class ServiceUnavailableException extends HttpException
Something really wrong and unexpected occurred on the server. A bug.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ServiceUnavailableException(String message)
ServiceUnavailableException(String message, Throwable t)
ServiceUnavailableException(Throwable t)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.netty.handler.codec.http.HttpResponseStatus
getStatus()
-
Methods inherited from class org.yamcs.http.HttpException
getDetail, isServerError, setDetail, toMessage
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Method Detail
-
getStatus
public io.netty.handler.codec.http.HttpResponseStatus getStatus()
- Specified by:
getStatus
in classHttpException
-
-