Class RequestMethodNotAllowedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.aspectran.core.activity.ActivityException
com.aspectran.core.activity.request.RequestException
com.aspectran.core.activity.request.RequestMethodNotAllowedException
- All Implemented Interfaces:
Serializable
Exception thrown when a request handler does not allow a specific request method.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new RequestMethodNotAllowedException.RequestMethodNotAllowedException
(MethodType requestMethod) Instantiates a new RequestMethodNotAllowedException.RequestMethodNotAllowedException
(MethodType requestMethod, String msg) Instantiates a new RequestMethodNotAllowedException.Instantiates a new RequestMethodNotAllowedException.RequestMethodNotAllowedException
(String msg, Throwable cause) Instantiates a new RequestMethodNotAllowedException.Instantiates a new RequestMethodNotAllowedException. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
RequestMethodNotAllowedException
public RequestMethodNotAllowedException()Instantiates a new RequestMethodNotAllowedException. -
RequestMethodNotAllowedException
Instantiates a new RequestMethodNotAllowedException.- Parameters:
msg
- a message to associate with the exception
-
RequestMethodNotAllowedException
Instantiates a new RequestMethodNotAllowedException.- Parameters:
cause
- the real cause of the exception
-
RequestMethodNotAllowedException
Instantiates a new RequestMethodNotAllowedException.- Parameters:
msg
- the detail messagecause
- the real cause of the exception
-
RequestMethodNotAllowedException
Instantiates a new RequestMethodNotAllowedException.- Parameters:
requestMethod
- the request methodmsg
- the detail message
-
RequestMethodNotAllowedException
Instantiates a new RequestMethodNotAllowedException.- Parameters:
requestMethod
- the request method
-
-
Method Details
-
getRequestMethod
Gets the request method type.- Returns:
- the request method type
-