Class InternalServerErrorException

  • All Implemented Interfaces:
    Serializable

    public class InternalServerErrorException
    extends NinjaException
    A convenience unchecked exception. Allows you to wrap any exception (checked or unchecked) and throw it. Should signal a html error 500 (something went wrong on the server). 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

      • InternalServerErrorException

        public InternalServerErrorException()
      • InternalServerErrorException

        public InternalServerErrorException​(String message)
      • InternalServerErrorException

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

        public InternalServerErrorException​(Throwable cause)