Class MissingRequestValueException

All Implemented Interfaces:
Serializable, ErrorResponse
Direct Known Subclasses:
MissingMatrixVariableException, MissingPathVariableException, MissingRequestCookieException, MissingRequestHeaderException, MissingServletRequestParameterException

public class MissingRequestValueException extends ServletRequestBindingException
Base class for ServletRequestBindingException exceptions that could not bind because the request value is required but is either missing or otherwise resolves to null after conversion.
Since:
5.3.6
Author:
Rossen Stoyanchev
See Also:
  • Constructor Details

    • MissingRequestValueException

      public MissingRequestValueException(String msg)
    • MissingRequestValueException

      public MissingRequestValueException(String msg, boolean missingAfterConversion)
  • Method Details

    • isMissingAfterConversion

      public boolean isMissingAfterConversion()
      Whether the request value was present but converted to null, e.g. via org.springframework.core.convert.support.IdToEntityConverter.