public class

MissingServletRequestParameterException

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.MissingServletRequestParameterException

Class Overview

ServletRequestBindingException subclass that indicates a missing parameter.

Summary

Public Constructors
MissingServletRequestParameterException(String parameterName, String parameterType)
Constructor for MissingServletRequestParameterException.
Public Methods
String getMessage()
Return the detail message, including the message from the nested exception if there is one.
final String getParameterName()
Return the name of the offending parameter.
final String getParameterType()
Return the expected type of the offending parameter.
[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 MissingServletRequestParameterException (String parameterName, String parameterType)

Constructor for MissingServletRequestParameterException.

Parameters
parameterName the name of the missing parameter
parameterType the expected type of the missing parameter

Public Methods

public String getMessage ()

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

public final String getParameterName ()

Return the name of the offending parameter.

public final String getParameterType ()

Return the expected type of the offending parameter.