com.sun.management.oss
Class IllegalAttributeValueException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byjava.lang.IllegalArgumentException
                  extended bycom.sun.management.oss.IllegalAttributeValueException
All Implemented Interfaces:
java.io.Serializable

public class IllegalAttributeValueException
extends java.lang.IllegalArgumentException

Similar to com.sun.management.oss.IllegalArgumentException, except it specifically refers to a bad value associated with an attribute name within an AttributeAccess object. This exception is thrown if an AttributeAccess object passed to a remote method contains an attribute with a bad value.

See Also:
Serialized Form

Constructor Summary
IllegalAttributeValueException()
           
IllegalAttributeValueException(java.lang.String nameOfBadAttribute, java.lang.String message)
          Construct an IllegalAttributeValueException.
 
Method Summary
 java.lang.String getIllegalAttributeName()
           
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IllegalAttributeValueException

public IllegalAttributeValueException()

IllegalAttributeValueException

public IllegalAttributeValueException(java.lang.String nameOfBadAttribute,
                                      java.lang.String message)
Construct an IllegalAttributeValueException.

Parameters:
nameOfBadAttribute - the name of the attribute with the bad value.
message - description of the problem.
Method Detail

getIllegalAttributeName

public java.lang.String getIllegalAttributeName()