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

Need to improve the exception msg on discovery failures

    XMLWordPrintable

Details

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

    Description

      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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: