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

Scott M Stark (JIRA) jira-events at lists.jboss.org
Tue Jun 17 16:54:37 EDT 2008


Need to improve the exception msg on discovery failures
-------------------------------------------------------

                 Key: JBNAME-2
                 URL: http://jira.jboss.com/jira/browse/JBNAME-2
             Project: JBoss Naming
          Issue Type: Feature Request
          Components: jnp-client
    Affects Versions: 5.0.0.CR1
            Reporter: Scott M Stark


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: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list