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:
    Serialized Form
    • Constructor Detail

      • NotFoundException

        public NotFoundException()
      • NotFoundException

        public NotFoundException​(String message)
      • NotFoundException

        public NotFoundException​(Throwable t)
    • Method Detail

      • getStatus

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