org.springframework.web.bind

Class MissingServletRequestParameterException

    • Constructor Summary

      Constructors 
      Constructor and Description
      MissingServletRequestParameterException(java.lang.String parameterName, java.lang.String parameterType)
      Constructor for MissingServletRequestParameterException.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.String getMessage()
      Return the detail message, including the message from the nested exception if there is one.
      java.lang.String getParameterName()
      Return the name of the offending parameter.
      java.lang.String getParameterType()
      Return the expected type of the offending parameter.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, 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

      • MissingServletRequestParameterException

        public MissingServletRequestParameterException(java.lang.String parameterName,
                                                       java.lang.String parameterType)
        Constructor for MissingServletRequestParameterException.
        Parameters:
        parameterName - the name of the missing parameter
        parameterType - the expected type of the missing parameter
    • Method Detail

      • getParameterName

        public final java.lang.String getParameterName()
        Return the name of the offending parameter.
      • getParameterType

        public final java.lang.String getParameterType()
        Return the expected type of the offending parameter.