diff options
Diffstat (limited to 'gnu/java/lang/management/MemoryPoolMXBeanImpl.java')
| -rw-r--r-- | gnu/java/lang/management/MemoryPoolMXBeanImpl.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gnu/java/lang/management/MemoryPoolMXBeanImpl.java b/gnu/java/lang/management/MemoryPoolMXBeanImpl.java index 9554aae00..ed4dccd76 100644 --- a/gnu/java/lang/management/MemoryPoolMXBeanImpl.java +++ b/gnu/java/lang/management/MemoryPoolMXBeanImpl.java @@ -42,6 +42,8 @@ import gnu.classpath.SystemProperties; import java.lang.management.MemoryPoolMXBean; import java.lang.management.MemoryUsage; +import javax.management.NotCompliantMBeanException; + /** * Provides access to information about one of the memory * resources or pools used by the current invocation of the @@ -78,9 +80,15 @@ public final class MemoryPoolMXBeanImpl * Constructs a new <code>MemoryPoolMXBeanImpl</code>. * * @param name the name of the pool this bean represents. + * @throws NotCompliantMBeanException if this class doesn't implement + * the interface or a method appears + * in the interface that doesn't comply + * with the naming conventions. */ public MemoryPoolMXBeanImpl(String name) + throws NotCompliantMBeanException { + super(MemoryPoolMXBean.class); this.name = name; } |
