[seam-issues] [JBoss JIRA] Updated: (SOLDER-3) OTT Exception wrapping

Dan Allen (JIRA) jira-events at lists.jboss.org
Sun Dec 19 02:20:17 EST 2010


     [ https://issues.jboss.org/browse/SOLDER-3?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Allen updated SOLDER-3:
---------------------------

             Assignee: Stuart Douglas
        Fix Version/s: 3.0.0.Beta2
    Affects Version/s: 3.0.0.Beta1
          Component/s: Unwraps


> OTT Exception wrapping
> ----------------------
>
>                 Key: SOLDER-3
>                 URL: https://issues.jboss.org/browse/SOLDER-3
>             Project: Seam Solder
>          Issue Type: Bug
>          Components: Unwraps
>    Affects Versions: 3.0.0.Beta1
>            Reporter: Pete Muir
>            Assignee: Stuart Douglas
>             Fix For: 3.0.0.Beta2
>
>
> This piece of code 
> try
>       {
>          M obj = proxyClass.newInstance();
>          ((ProxyObject) obj).setHandler(hdl);
>          creationalContext.push(obj);
>          return obj;
>       }
>       catch (Exception e)
>       {
>          throw new RuntimeException(e);
>       }
> in UnwrapsProducerBean is over-zealous in wrapping exceptions. It should only wrap specific exceptions, adding additonal info (e.g. the proxyClass it was trying to create)

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the seam-issues mailing list