Package org.yamcs.http
Class BadRequestException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.yamcs.http.HttpException
-
- org.yamcs.http.BadRequestException
-
- All Implemented Interfaces:
Serializable
public class BadRequestException extends HttpException
When there were errors in interpreting the request- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BadRequestException(String message)
BadRequestException(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
-
-