[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-1239) Throw distinquishable exception time if size limit of MultipartRequest is exceeded

Christian Bauer (JIRA) jira-events at lists.jboss.org
Tue Apr 24 10:48:30 EDT 2007


Throw distinquishable exception time if size limit of MultipartRequest is exceeded
----------------------------------------------------------------------------------

                 Key: JBSEAM-1239
                 URL: http://jira.jboss.com/jira/browse/JBSEAM-1239
             Project: JBoss Seam
          Issue Type: Feature Request
          Components: Core
            Reporter: Christian Bauer
            Priority: Minor


java.lang.RuntimeException: Multipart request is larger than allowed size
	org.jboss.seam.web.MultipartRequest.<init>(MultipartRequest.java:282)
	org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:74)
	org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
	org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
	org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
	org.jboss.seam.web.SeamFilter.doFilter(SeamFilter.java:84)
	org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:96)
	org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:220)
	org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

I can't catch this and display a proper error message. Also the pages.xml exception handling doesn't catch it, since it happens too early in a filter. If there is any reasonable way we need to make this exception case more customizable. 


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list