javax.management.relation
Class InvalidRoleValueException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjavax.management.JMException (src) 
              extended byjavax.management.relation.RelationException (src) 
                  extended byjavax.management.relation.InvalidRoleValueException
All Implemented Interfaces:
java.io.Serializable

public class InvalidRoleValueException
extends RelationException (src)

Thrown when the number of MBeans passed is less the minimum or greater than the maximum degree of a role, or the an MBean has an incorrect class or an MBean does not exist.

See Also:
Serialized Form

Constructor Summary
InvalidRoleValueException()
          Construct a new InvalidRoleValueException with no message.
InvalidRoleValueException(java.lang.String message)
          Construct a new InvalidRoleValueException with the given message.
 
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

InvalidRoleValueException

public InvalidRoleValueException()
Construct a new InvalidRoleValueException with no message.


InvalidRoleValueException

public InvalidRoleValueException(java.lang.String message)
Construct a new InvalidRoleValueException with the given message.

Parameters:
message - the error message.