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=21936>.
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=21936

Do not silently discard exceptions

           Summary: Do not silently discard exceptions
           Product: Jetspeed
           Version: 1.4b4-dev / CVS
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: Portlet API
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


At present, when an action class throws an exception (ie. during an
eventSubmit_doWhatever), the exception is silently caught and discarded, leading
to tricky debugging.

The attached patch replaces a generic 
"catch (Exception e)"

with a set of specific exception handlers, so that any exceptions stemming from
action classes may be re-thrown. With this patch, any exceptions thrown by
action classes will result in a stack trace being displayed in the browser. This
seems like desirable behaviour to me, but if a better behaviour is suggested, I
don't mind to implement it.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to