+1<br><br><div class="gmail_quote">On Mon, Apr 25, 2011 at 10:28 AM, George Gastaldi (JIRA) <span dir="ltr">&lt;<a href="mailto:jira-events@lists.jboss.org">jira-events@lists.jboss.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
    [ <a href="https://issues.jboss.org/browse/CDI-118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12597800#comment-12597800" target="_blank">https://issues.jboss.org/browse/CDI-118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12597800#comment-12597800</a> ]<br>

<br>
George Gastaldi commented on CDI-118:<br>
-------------------------------------<br>
<br>
+1 to the packaging naming suggestion<br>
<div><div></div><div class="h5"><br>
&gt; Standardize deployment-related exception classes<br>
&gt; ------------------------------------------------<br>
&gt;<br>
&gt;                 Key: CDI-118<br>
&gt;                 URL: <a href="https://issues.jboss.org/browse/CDI-118" target="_blank">https://issues.jboss.org/browse/CDI-118</a><br>
&gt;             Project: CDI Specification Issues<br>
&gt;          Issue Type: Feature Request<br>
&gt;          Components: Packaging and Deployment<br>
&gt;    Affects Versions: 1.0<br>
&gt;            Reporter: Dan Allen<br>
&gt;             Fix For: 1.1 (Proposed)<br>
&gt;<br>
&gt;<br>
&gt; While it&#39;s true that deployment exceptions are not a public API when developing with the CDI programming model, they are a public API for tools and in testing environments. It would be useful to standardize the deployment-related error and exception classes so that these tools don&#39;t have to rely on classes from the implementation.<br>

&gt; One example occurs in the CDI-TCK and it&#39;s counterpart, Arquillian. A test may want to verify that the code will result in a deployment error. Currently, to detect this exception, it&#39;s necessary to rely on an implementation specific exception class, which makes the test non-portable.<br>

&gt; Another example is a tool that starts a CDI runtime or server that provides CDI. The tool has to check for the implementation-specific exception to know if the deployment error is caused by CDI (and to capture and report that error). It&#39;s important both when CDI is used for standalone bootstrap and for a container that provides CDI.<br>

&gt; Proposed API:<br>
&gt; javax.enterprise.inject.DeploymentException extends RuntimeException<br>
<br>
--<br>
This message is automatically generated by JIRA.<br>
For more information on JIRA, see: <a href="http://www.atlassian.com/software/jira" target="_blank">http://www.atlassian.com/software/jira</a><br>
_______________________________________________<br>
cdi-dev mailing list<br>
<a href="mailto:cdi-dev@lists.jboss.org">cdi-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/cdi-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/cdi-dev</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><b>Rick Hightower</b><br>(415) 968-9037 <br><a href="http://www.google.com/profiles/RichardHightower" target="_blank">Profile</a> <br><br>