Class MethodNotAllowedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
javax.servlet.ServletException
com.blackrook.small.exception.request.MethodNotAllowedException
- All Implemented Interfaces:
Serializable
public class MethodNotAllowedException
extends javax.servlet.ServletException
Exception thrown when an HTTP request method is not supported.
- Author:
- Matthew Tropiano
- See Also:
-
Constructor Summary
ConstructorDescriptionMethodNotAllowedException
(String message) Creates a new exception.MethodNotAllowedException
(String message, Throwable exception) Creates a new exception with a message. -
Method Summary
Methods inherited from class javax.servlet.ServletException
getRootCause
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
MethodNotAllowedException
Creates a new exception.- Parameters:
message
- the exception message.
-
MethodNotAllowedException
Creates a new exception with a message.- Parameters:
message
- the exception message.exception
- the exception cause.
-