Package ninja.exceptions
Class InternalServerErrorException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- ninja.exceptions.NinjaException
-
- ninja.exceptions.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 Summary
Constructors Constructor Description InternalServerErrorException()
InternalServerErrorException(String message)
InternalServerErrorException(String message, Throwable cause)
InternalServerErrorException(Throwable cause)
-
Method Summary
-
Methods inherited from class ninja.exceptions.NinjaException
getHttpStatus
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-