[ 
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
(v8.3.4#803005)

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

Reply via email to