You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by "victoriavargas (JIRA)" <je...@portals.apache.org> on 2019/01/31 08:24:00 UTC
[jira] [Updated] (JS1-368) [PATCH] Do not silently discard
exceptions
[ https://issues.apache.org/jira/browse/JS1-368?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
victoriavargas updated JS1-368:
-------------------------------
Attachment: az-400-Exam-Dumps-2019.pdf
> [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
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org