@Deprecated public class NoSuchRequestHandlingMethodException extends ServletException
MethodNameResolver.getHandlerMethodName(javax.servlet.http.HttpServletRequest),
Serialized Form| Constructor and Description |
|---|
NoSuchRequestHandlingMethodException(HttpServletRequest request)
Deprecated.
Create a new NoSuchRequestHandlingMethodException for the given request.
|
NoSuchRequestHandlingMethodException(String methodName,
Class<?> controllerClass)
Deprecated.
Create a new NoSuchRequestHandlingMethodException for the given request.
|
NoSuchRequestHandlingMethodException(String urlPath,
String method,
Map<String,String[]> parameterMap)
Deprecated.
Create a new NoSuchRequestHandlingMethodException.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getMethodName()
Deprecated.
Return the name of the offending method, if known.
|
getRootCauseaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic NoSuchRequestHandlingMethodException(HttpServletRequest request)
request - the offending HTTP requestpublic NoSuchRequestHandlingMethodException(String urlPath, String method, Map<String,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(String methodName, Class<?> controllerClass)
methodName - the name of the handler method that wasn't foundcontrollerClass - the class the handler method was expected to be inpublic String getMethodName()