You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Mark Struberg (JIRA)" <ji...@apache.org> on 2009/01/12 13:18:01 UTC

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

Review all usages of catch(Throwable)
-------------------------------------

                 Key: OWB-38
                 URL: https://issues.apache.org/jira/browse/OWB-38
             Project: OpenWebBeans
          Issue Type: Bug
            Reporter: Mark Struberg
            Assignee: Gurkan Erdogdu


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.


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

Posted by "Gurkan Erdogdu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OWB-38?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gurkan Erdogdu resolved OWB-38.
-------------------------------

    Resolution: Fixed

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


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

Posted by "Gurkan Erdogdu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OWB-38?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gurkan Erdogdu closed OWB-38.
-----------------------------


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


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

Posted by "Gurkan Erdogdu (JIRA)" <ji...@apache.org>.
     [ 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.