javax.management
Class NotCompliantMBeanException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by javax.management.JMException
              extended by javax.management.OperationsException
                  extended by javax.management.NotCompliantMBeanException
All Implemented Interfaces:
Serializable

public class NotCompliantMBeanException
extends OperationsException

Thrown when a management bean is passed to a method (e.g. to an MBean server to be registered) and it fails to comply with the specifications for such a bean.

Since:
1.5
See Also:
Serialized Form

Constructor Summary
NotCompliantMBeanException()
          Constructs a new NotCompliantMBeanException.
NotCompliantMBeanException(String message)
          Constructs a new NotCompliantMBeanException with the specified message.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NotCompliantMBeanException

public NotCompliantMBeanException()
Constructs a new NotCompliantMBeanException.


NotCompliantMBeanException

public NotCompliantMBeanException(String message)
Constructs a new NotCompliantMBeanException with the specified message.

Parameters:
message - the error message to give to the user.