jdk/src/share/classes/javax/management/openmbean/OpenMBeanAttributeInfoSupport.java
equal
deleted
inserted
replaced
136 * specified {@code name}, {@code openType}, {@code |
136 * specified {@code name}, {@code openType}, {@code |
137 * description}, read/write access properties, and {@code Descriptor}.</p> |
137 * description}, read/write access properties, and {@code Descriptor}.</p> |
138 * |
138 * |
139 * <p>The {@code descriptor} can contain entries that will define |
139 * <p>The {@code descriptor} can contain entries that will define |
140 * the values returned by certain methods of this class, as |
140 * the values returned by certain methods of this class, as |
141 * explained in the {@link <a href="package-summary.html#constraints"> |
141 * explained in the <a href="package-summary.html#constraints"> |
142 * package description</a>}. |
142 * package description</a>. |
143 * |
143 * |
144 * @param name cannot be a null or empty string. |
144 * @param name cannot be a null or empty string. |
145 * |
145 * |
146 * @param description cannot be a null or empty string. |
146 * @param description cannot be a null or empty string. |
147 * |
147 * |
160 * which is equivalent to an empty descriptor. |
160 * which is equivalent to an empty descriptor. |
161 * |
161 * |
162 * @throws IllegalArgumentException if {@code name} or {@code |
162 * @throws IllegalArgumentException if {@code name} or {@code |
163 * description} are null or empty string, or {@code openType} is |
163 * description} are null or empty string, or {@code openType} is |
164 * null, or the descriptor entries are invalid as described in the |
164 * null, or the descriptor entries are invalid as described in the |
165 * {@link <a href="package-summary.html#constraints">package |
165 * <a href="package-summary.html#constraints">package description</a>. |
166 * description</a>}. |
|
167 * |
166 * |
168 * @since 1.6 |
167 * @since 1.6 |
169 */ |
168 */ |
170 public OpenMBeanAttributeInfoSupport(String name, |
169 public OpenMBeanAttributeInfoSupport(String name, |
171 String description, |
170 String description, |