[jboss-jira] [JBoss JIRA] Updated: (JBNAME-2) Need to improve the exception msg on discovery failures

Dimitris Andreadis (JIRA) jira-events at lists.jboss.org
Mon Nov 24 15:18:36 EST 2008


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

Dimitris Andreadis updated JBNAME-2:
------------------------------------

    Fix Version/s: 5.1.0.Beta1


> Need to improve the exception msg on discovery failures
> -------------------------------------------------------
>
>                 Key: JBNAME-2
>                 URL: https://jira.jboss.org/jira/browse/JBNAME-2
>             Project: JBoss Naming
>          Issue Type: Feature Request
>          Components: jnp-client
>    Affects Versions: 5.0.0.CR1
>            Reporter: Scott M Stark
>             Fix For: 5.1.0.Beta1
>
>
> When a discovery failure occurs we are only reporting the original exception that triggered discovery. This codeblock does not try to incorporate the discovery exception seen if there already is a serverEx:
>                try
>                {
>                   naming = discoverServer(refEnv);
>                }
>                catch (Exception e)
>                {
>                   discoveryFailure = e;
>                   if (serverEx == null)
>                      serverEx = e;
>                }
> We should be building a better nested exception to show both problem.s

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list