[weld-issues] [JBoss JIRA] Created: (WELDX-158) OTT Exception wrapping
Pete Muir (JIRA)
jira-events at lists.jboss.org
Sun Sep 26 09:05:28 EDT 2010
OTT Exception wrapping
----------------------
Key: WELDX-158
URL: https://jira.jboss.org/browse/WELDX-158
Project: Weld Extensions
Issue Type: Bug
Reporter: Pete Muir
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.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the weld-issues
mailing list