|
The Spring Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
javax.servlet.ServletException
org.springframework.web.servlet.mvc.multiaction.NoSuchRequestHandlingMethodException
public class NoSuchRequestHandlingMethodException
Exception thrown when there is no handler method ("action" method) for a specific HTTP request.
MethodNameResolver.getHandlerMethodName(javax.servlet.http.HttpServletRequest)
,
Serialized FormConstructor Summary | |
---|---|
NoSuchRequestHandlingMethodException(HttpServletRequest request)
Create a new NoSuchRequestHandlingMethodException for the given request. |
|
NoSuchRequestHandlingMethodException(String methodName,
Class controllerClass)
Create a new NoSuchRequestHandlingMethodException for the given request. |
|
NoSuchRequestHandlingMethodException(String urlPath,
String method,
Map parameterMap)
Create a new NoSuchRequestHandlingMethodException. |
Method Summary | |
---|---|
String |
getMethodName()
Return the name of the offending method, if known. |
Methods inherited from class javax.servlet.ServletException |
---|
getRootCause |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public NoSuchRequestHandlingMethodException(HttpServletRequest request)
request
- the offending HTTP requestpublic NoSuchRequestHandlingMethodException(String urlPath, String method, Map 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 inMethod Detail |
---|
public String getMethodName()
|
The Spring Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |