portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "dian hina (Jira)" <jetspeed-...@portals.apache.org>
Subject [jira] [Updated] (JS1-368) [PATCH] Do not silently discard exceptions
Date Sat, 26 Jun 2021 20:29:02 GMT

     [ https://issues.apache.org/jira/browse/JS1-368?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

dian hina updated JS1-368:

oke finish

> [PATCH] Do not silently discard exceptions
> ------------------------------------------
>                 Key: JS1-368
>                 URL: https://issues.apache.org/jira/browse/JS1-368
>             Project: Jetspeed
>          Issue Type: Bug
>          Components: Portlet API
>    Affects Versions: 1.4b4-dev / CVS
>         Environment: Operating System: All
> Platform: Other
>            Reporter: James Agnew
>         Attachments: ASF.LICENSE.NOT.GRANTED--jetspeed1.patch, az-400-Exam-Dumps-2019.pdf
> 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.

This message was sent by Atlassian Jira

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

View raw message