- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- BadRequestException, ForbiddenRequestException, InternalServerErrorException, RenderingException, RequestNotFoundException
public class NinjaException
extends RuntimeException
A convenience unchecked exception.
Allows you to wrap any exception (checked or unchecked) and throw it.
Should signal a html error 400 - bad request (the client sent something strange).
Useful inside controllers or filters for instance.
Ninja is supposed to pick it up and render an appropriate error page.
- See Also:
- Serialized Form