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 2003/05/28 15:51:33 UTC

DO NOT REPLY [Bug 20302] New: - DispatchAction catches an exception, then throws it away

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

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20302

DispatchAction catches an exception, then throws it away

           Summary: DispatchAction catches an exception, then throws it away
           Product: Struts
           Version: 1.1 RC1
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Controller
        AssignedTo: struts-dev@jakarta.apache.org
        ReportedBy: minfrin@sharp.fm


During normal course of development, an error has occured in a DispatchAction
subclass, resulting in the following error to be displayed in the browser:

The server encountered an internal error (Dispatch[policy/report/coverlimit] to
method update returned an exception) that prevented it from fulfilling this request.

The entity that generated this error seems to be DispatchAction, which has
caught an exception, but then thrown it away and generated the new exception,
which tomcat catches and displays as the error message above.

DispatchAction should not throw away exceptions, but log them appropriately.

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