You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Gurkan Erdogdu (JIRA)" <ji...@apache.org> on 2009/01/26 09:57:59 UTC

[jira] Updated: (OWB-38) Review all usages of catch(Throwable)

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

Gurkan Erdogdu updated OWB-38:
------------------------------

      Component/s: Core
    Fix Version/s: M1

> Review all usages of catch(Throwable)
> -------------------------------------
>
>                 Key: OWB-38
>                 URL: https://issues.apache.org/jira/browse/OWB-38
>             Project: OpenWebBeans
>          Issue Type: Bug
>          Components: Core
>            Reporter: Mark Struberg
>            Assignee: Gurkan Erdogdu
>             Fix For: M1
>
>
> We should review all usages of 
> catch(Throwable t)
> and instead only catch java.lang.Exceptions.
> We usually must not catch java.lang.Errors (as e.g. java.lang.OutOfMemoryError or java.lang.ThreadDeath), since this must only be performed by the AppServer if any. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.