Uploaded image for project: 'JBoss Naming'
  1. JBoss Naming
  2. JBNAME-2

Need to improve the exception msg on discovery failures

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • 5.1.0.Beta1, 5.0.4.GA
    • 5.0.0.CR1
    • jnp-client
    • None

      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

              Unassigned Unassigned
              starksm64 Scott Stark (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: