public class

NoSuchRequestHandlingMethodException

extends ServletException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ javax.servlet.ServletException
         ↳ org.springframework.web.servlet.mvc.multiaction.NoSuchRequestHandlingMethodException

Class Overview

Exception thrown when there is no handler method ("action" method) for a specific HTTP request.

Summary

Public Constructors
NoSuchRequestHandlingMethodException(HttpServletRequest request)
Create a new NoSuchRequestHandlingMethodException for the given request.
NoSuchRequestHandlingMethodException(String urlPath, String method, Map parameterMap)
Create a new NoSuchRequestHandlingMethodException.
NoSuchRequestHandlingMethodException(String methodName, Class controllerClass)
Create a new NoSuchRequestHandlingMethodException for the given request.
Public Methods
String getMethodName()
Return the name of the offending method, if known.
[Expand]
Inherited Methods
From class javax.servlet.ServletException
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public NoSuchRequestHandlingMethodException (HttpServletRequest request)

Create a new NoSuchRequestHandlingMethodException for the given request.

Parameters
request the offending HTTP request

public NoSuchRequestHandlingMethodException (String urlPath, String method, Map parameterMap)

Create a new NoSuchRequestHandlingMethodException.

Parameters
urlPath the request URI that has been used for handler lookup
method the HTTP request method of the request
parameterMap the request's parameters as map

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 found
controllerClass the class the handler method was expected to be in

Public Methods

public String getMethodName ()

Return the name of the offending method, if known.