javax.management
Class BadAttributeValueExpException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by javax.management.BadAttributeValueExpException
All Implemented Interfaces:
Serializable

public class BadAttributeValueExpException
extends Exception

Thrown when the value of an a attribute passed to a query proves to be invalid. This exception is only used internally by the Java management API and is not exposed to user code.

Since:
1.5
See Also:
Serialized Form

Constructor Summary
BadAttributeValueExpException(Object val)
          Constructs a new BadAttributeValueExpException using the specified object to represent the invalid value.
 
Method Summary
 String toString()
          Returns a textual representation of this instance.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BadAttributeValueExpException

public BadAttributeValueExpException(Object val)
Constructs a new BadAttributeValueExpException using the specified object to represent the invalid value.

Parameters:
val - the inappropriate value.
Method Detail

toString

public String toString()
Returns a textual representation of this instance. This is constructed using the class name (javax.management.BadAttributeValueExpException) and the invalid value.

Overrides:
toString in class Throwable
Returns:
a @link{java.lang.String} instance representing the instance in textual form.
See Also:
Object.getClass(), Object.hashCode(), Class.getName(), Integer.toHexString(int)