public class NotFoundException extends HttpException
Do *not* use this for anything else. For example if a query parameter refers to something that does not exist, use a BadRequestException instead.
| Constructor and Description |
|---|
NotFoundException(RestRequest request) |
NotFoundException(RestRequest request,
String message) |
NotFoundException(Throwable t) |
| Modifier and Type | Method and Description |
|---|---|
io.netty.handler.codec.http.HttpResponseStatus |
getStatus() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic NotFoundException(RestRequest request)
public NotFoundException(RestRequest request, String message)
public NotFoundException(Throwable t)
public io.netty.handler.codec.http.HttpResponseStatus getStatus()
getStatus in class HttpExceptionCopyright © 2017 Space Applications Services. All rights reserved.