src/share/classes/javax/management/modelmbean/ModelMBeanAttributeInfo.java

Print this page

        

*** 187,197 **** * @param description A human readable description of the attribute. Optional. * @param getter The method used for reading the attribute value. * May be null if the property is write-only. * @param setter The method used for writing the attribute value. * May be null if the attribute is read-only. ! * @exception IntrospectionException There is a consistency * problem in the definition of this attribute. * */ public ModelMBeanAttributeInfo(String name, --- 187,197 ---- * @param description A human readable description of the attribute. Optional. * @param getter The method used for reading the attribute value. * May be null if the property is write-only. * @param setter The method used for writing the attribute value. * May be null if the attribute is read-only. ! * @exception javax.management.IntrospectionException There is a consistency * problem in the definition of this attribute. * */ public ModelMBeanAttributeInfo(String name,
*** 231,241 **** * @param descriptor An instance of Descriptor containing the * appropriate metadata for this instance of the Attribute. If * it is null, then a default descriptor will be created. If * the descriptor does not contain the field "displayName" this field is added * in the descriptor with its default value. ! * @exception IntrospectionException There is a consistency * problem in the definition of this attribute. * @exception RuntimeOperationsException Wraps an * IllegalArgumentException. The descriptor is invalid, or descriptor * field "name" is not equal to name parameter, or descriptor field * "descriptorType" is not equal to "attribute". --- 231,241 ---- * @param descriptor An instance of Descriptor containing the * appropriate metadata for this instance of the Attribute. If * it is null, then a default descriptor will be created. If * the descriptor does not contain the field "displayName" this field is added * in the descriptor with its default value. ! * @exception javax.management.IntrospectionException There is a consistency * problem in the definition of this attribute. * @exception RuntimeOperationsException Wraps an * IllegalArgumentException. The descriptor is invalid, or descriptor * field "name" is not equal to name parameter, or descriptor field * "descriptorType" is not equal to "attribute".