Class RequestNotFoundException

  • All Implemented Interfaces:
    Serializable

    public class RequestNotFoundException
    extends NinjaException
    A convenience unchecked exception. Allows you to wrap any exception (checked or unchecked) and throw it. Should signal a html error 404 - not found (the client attempts something unknown). Useful inside controllers or filters for instance. Ninja is supposed to pick it up and render an appropriate error page.
    See Also:
    Serialized Form
    • Constructor Detail

      • RequestNotFoundException

        public RequestNotFoundException()
      • RequestNotFoundException

        public RequestNotFoundException​(String message)
      • RequestNotFoundException

        public RequestNotFoundException​(String message,
                                        Throwable cause)
      • RequestNotFoundException

        public RequestNotFoundException​(Throwable cause)