-
Bug
-
Resolution: Fixed
-
P3
-
6
-
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
[...]
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
- relates to
-
JDK-6305139 ImmutableDescriptor.setFields does not wrap IAE as said in Descriptor interface
-
- Closed
-