org.springframework.web.servlet.mvc.multiaction
Class NoSuchRequestHandlingMethodException
java.lang.Object
java.lang.Throwable
java.lang.Exception
javax.servlet.ServletException
org.springframework.web.servlet.mvc.multiaction.NoSuchRequestHandlingMethodException
- All Implemented Interfaces:
- Serializable
public class NoSuchRequestHandlingMethodException
- extends ServletException
Exception thrown when there's no request handling method for a request.
- Author:
- Rod Johnson, Juergen Hoeller
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
NoSuchRequestHandlingMethodException
public NoSuchRequestHandlingMethodException(HttpServletRequest request)
- Create a new NoSuchRequestHandlingMethodException for the given request.
- Parameters:
request
- the offending HTTP request
NoSuchRequestHandlingMethodException
public NoSuchRequestHandlingMethodException(String methodName,
Class controllerClass)
- Create a new NoSuchRequestHandlingMethodException for the given request.
- Parameters:
methodName
- the name of the handler method that wasn't foundcontrollerClass
- the class the handler method was expected to be in
getMethodName
public String getMethodName()
- Return the name of the offending method, if known.
Copyright (c) 2002-2006 The Spring Framework Project.