@Deprecated public class NoSuchRequestHandlingMethodException extends ServletException
MethodNameResolver.getHandlerMethodName(javax.servlet.http.HttpServletRequest)
,
Serialized FormConstructor and Description |
---|
NoSuchRequestHandlingMethodException(HttpServletRequest request)
Deprecated.
Create a new NoSuchRequestHandlingMethodException for the given request.
|
NoSuchRequestHandlingMethodException(java.lang.String methodName,
java.lang.Class<?> controllerClass)
Deprecated.
Create a new NoSuchRequestHandlingMethodException for the given request.
|
NoSuchRequestHandlingMethodException(java.lang.String urlPath,
java.lang.String method,
java.util.Map<java.lang.String,java.lang.String[]> parameterMap)
Deprecated.
Create a new NoSuchRequestHandlingMethodException.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMethodName()
Deprecated.
Return the name of the offending method, if known.
|
getRootCause
public NoSuchRequestHandlingMethodException(HttpServletRequest request)
request
- the offending HTTP requestpublic NoSuchRequestHandlingMethodException(java.lang.String urlPath, java.lang.String method, java.util.Map<java.lang.String,java.lang.String[]> parameterMap)
urlPath
- the request URI that has been used for handler lookupmethod
- the HTTP request method of the requestparameterMap
- the request's parameters as mappublic NoSuchRequestHandlingMethodException(java.lang.String methodName, java.lang.Class<?> controllerClass)
methodName
- the name of the handler method that wasn't foundcontrollerClass
- the class the handler method was expected to be in