public class

UnsatisfiedServletRequestParameterException

extends ServletRequestBindingException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ javax.servlet.ServletException
         ↳ org.springframework.web.util.NestedServletException
           ↳ org.springframework.web.bind.ServletRequestBindingException
             ↳ org.springframework.web.bind.UnsatisfiedServletRequestParameterException

Class Overview

ServletRequestBindingException subclass that indicates an unsatisfied parameter condition, as typically expressed using an @RequestMapping annotation at the @Controller type level.

See Also
  • org.springframework.web.bind.annotation.RequestMapping#params()

Summary

Public Constructors
UnsatisfiedServletRequestParameterException(String[] paramConditions, Map actualParams)
Create a new UnsatisfiedServletRequestParameterException.
Public Methods
final Map<StringString[]> getActualParams()
Return the actual parameter Map associated with the ServletRequest.
String getMessage()
Return the detail message, including the message from the nested exception if there is one.
final String[] getParamConditions()
Return the parameter conditions that have been violated.
[Expand]
Inherited Methods
From class org.springframework.web.util.NestedServletException
From class javax.servlet.ServletException
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public UnsatisfiedServletRequestParameterException (String[] paramConditions, Map actualParams)

Create a new UnsatisfiedServletRequestParameterException.

Parameters
paramConditions the parameter conditions that have been violated
actualParams the actual parameter Map associated with the ServletRequest

Public Methods

public final Map<StringString[]> getActualParams ()

Return the actual parameter Map associated with the ServletRequest.

public String getMessage ()

Return the detail message, including the message from the nested exception if there is one.

public final String[] getParamConditions ()

Return the parameter conditions that have been violated.

See Also
  • org.springframework.web.bind.annotation.RequestMapping#params()