Package org.yamcs.http
Class NotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.yamcs.http.HttpException
org.yamcs.http.NotFoundException
- All Implemented Interfaces:
Serializable
When a resource (only the part identified by the request uri) could not be found.
Do *not* use this for anything else. For example if a query parameter refers to something that does not exist, use a BadRequestException instead.
- See Also:
-
Constructor Summary
-
Method Summary
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
-
Constructor Details
-
NotFoundException
public NotFoundException() -
NotFoundException
-
NotFoundException
-
-
Method Details
-
getStatus
public io.netty.handler.codec.http.HttpResponseStatus getStatus()- Specified by:
getStatus
in classHttpException
-