https://bz.apache.org/bugzilla/show_bug.cgi?id=62058
--- Comment #2 from Christopher Schultz <ch...@christopherschultz.net> --- What about shipping Tomcat with a trivial Filter that dispatches to the filter chain in a try/catch block, catches org.apache.tomcat.util.http.fileupload.FileUploadBase$FileSizeLimitExceededException, and returns 413 to the caller if caught? That would allow applications to be compile-time-independent of Tomcat (good) while also being able to handle this exception. Yes, it requires a runtime-dependency on Tomcat, but that's much better than a compile-time one. -- 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