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

Javadoc is missing exception wrapping description for javax.management.Descriptor.setFields

XMLWordPrintable

    • b45
    • generic
    • generic
    • Verified

      From the interface javax.management.Descriptor, the method setFields is said to throw RuntimeOperationsException that way (since b37):
      [...]
      RuntimeOperationsException - for illegal value for field Names or field Values. Neither can be null. The array lengths must be equal. If the descriptor construction fails for any reason, this exception will be thrown.
      [...]

      It is not symmetric to the specification of the method setField where the wrapped exception is described:
      [...]
      RuntimeOperationsException - if the field name or field value is illegal (wrapped exception is IllegalArgumentException); or if the descriptor is immutable (wrapped exception is UnsupportedOperationException).
      [...]

      ###@###.### 2005-05-20 11:51:05 GMT

            jferaud Joel Feraud (Inactive)
            yjoan Yves Joan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: