https://bz.apache.org/bugzilla/show_bug.cgi?id=64290
--- Comment #4 from Michael Osipov <micha...@apache.org> --- (In reply to Remy Maucherat from comment #2) > Fileupload as it is included is considered the same as if it was internal > Tomcat code, so releases or snapshots are not relevant. If so, we should not add them as root causes in public classes: > $ grep -r -E -e 'org.apache.tomcat.util.http.fileupload.impl.+Exception' java > java/org/apache/catalina/connector/Request.java:import > org.apache.tomcat.util.http.fileupload.impl.InvalidContentTypeException; > java/org/apache/catalina/connector/Request.java:import > org.apache.tomcat.util.http.fileupload.impl.SizeException; > } catch (InvalidContentTypeException e) { > parameters.setParseFailedReason(FailReason.INVALID_CONTENT_TYPE); > partsParseException = new ServletException(e); > } catch (SizeException e) { > parameters.setParseFailedReason(FailReason.POST_TOO_LARGE); > checkSwallowInput(); > partsParseException = new IllegalStateException(e); > } catch (FileUploadException e) { > parameters.setParseFailedReason(FailReason.IO_ERROR); > partsParseException = new IOException(e); > -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org