Class NotFoundException

All Implemented Interfaces:
Serializable

public class NotFoundException extends HttpException
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 Details

    • NotFoundException

      public NotFoundException()
    • NotFoundException

      public NotFoundException(String message)
    • NotFoundException

      public NotFoundException(Throwable t)
  • Method Details

    • getStatus

      public io.netty.handler.codec.http.HttpResponseStatus getStatus()
      Specified by:
      getStatus in class HttpException