Class MissingServletRequestPartException

All Implemented Interfaces:
Serializable, ErrorResponse

public class MissingServletRequestPartException extends ServletRequestBindingException
Signals the part of a "multipart/form-data" request, identified by name could not be found. This may be because the request is not a multipart request, or a part with that name is not present, or because the application is not configured correctly for processing multipart requests, e.g. there is no MultipartResolver.
Since:
3.1
Author:
Rossen Stoyanchev
See Also:
  • Constructor Details

    • MissingServletRequestPartException

      public MissingServletRequestPartException(String requestPartName)
      Constructor for MissingServletRequestPartException.
      Parameters:
      requestPartName - the name of the missing part of the multipart request
  • Method Details

    • getRequestPartName

      public String getRequestPartName()
      Return the name of the offending part of the multipart request.