Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-5018593

MLet.getMBeansFromURL should include failure details in exception

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 5.0
    • Fix Version/s: 5.0
    • Component/s: core-svc
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b46
    • CPU:
      generic
    • OS:
      generic

      Description

      MLet.getMBeansFromURL treats all failures in the same way: it throws a ServerNotFoundException with detail message "Problems while parsing URL <whatever>". Since the nature of the problems could be anything, from a bad URL to bad syntax to a connection failure, this is less than helpful. There should at least be a more informative detail message. Ideally there would be a chained exception indicating the root cause.

        Attachments

          Activity

            People

            Assignee:
            lmalvent Luis-Miguel Alventosa (Inactive)
            Reporter:
            emcmanus Eamonn McManus
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: