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

MLet.getMBeansFromURL should include failure details in exception

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 5.0
    • 5.0
    • core-svc
    • b46
    • generic
    • generic

      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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: