Marten Deinum opened SPR-9294 and commented
Currently all exceptions thrown by the standard multipart support lead to the generic MultipartException. It would be nice if, like the CommonsMultipartResolver, there could be differentiated between a general exception or a MaxUploadSizeExceededException.
Probably not an easy task as it depends on the container how it is handled and which exception is thrown.
For tomcat it is:
org.apache.tomcat.util.http.fileupload.FileUploadBase$FileSizeLimitExceededException.
Affects: 3.1.1
Issue Links:
Referenced from: commits 1922f03