You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2005/06/07 20:30:18 UTC

DO NOT REPLY [Bug 35257] New: - exceptions are not properly chained

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=35257>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=35257

           Summary: exceptions are not properly chained
           Product: Struts
           Version: 1.2.7
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Tiles framework
        AssignedTo: dev@struts.apache.org
        ReportedBy: gabe@alumni.rice.edu


We've been trying to write a generic exception handling routine around our web 
application. Unfortunately, struts has been masking exceptions by not nesting 
exceptions properly which means we lose the ability to programatically 
determine the cause of the action.  Our particular problem was that java faces 
was wrapping our db exceptions in servletexceptions and then struts was not 
wrapping the underlying servletexception. I'm adding a patch file for 
InsertTag.java that wraps the ServletException. I'm sure there are other cases 
where exceptions are not properly nested.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org