APIdia Launch Partner
Top Description Fields Constructors Methods
javax.management

public Class BadAttributeValueExpException

extends Exception
Class Inheritance
Imports
java.io.IOException, .ObjectInputStream

Thrown when an invalid MBean attribute is passed to a query constructing method. This exception is used internally by JMX during the evaluation of a query. User code does not usually see it.
Since
1.5

Field Summary

Modifier and TypeField and Description
private static final long
private String

Constructor Summary

AccessConstructor and Description
public
BadAttributeValueExpException(Object
the inappropriate value.
val
)

Constructs a BadAttributeValueExpException using the specified Object to create the toString() value.

Method Summary

Modifier and TypeMethod and Description
private void
readObject(ObjectInputStream
an ObjectInput Stream
ois
)

Hides java.lang.Throwable.readObject.

Restores the fields of a BadAttributeValueExpException from the stream.

public String
toString()

Overrides java.lang.Throwable.toString.

Returns the string representing the object.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.lang.Exception.serialVersionUID.

valback to summary
private String val

Constructor Detail

BadAttributeValueExpExceptionback to summary
public BadAttributeValueExpException(Object val)

Constructs a BadAttributeValueExpException using the specified Object to create the toString() value.

Parameters
val:Object

the inappropriate value.

Method Detail

readObjectback to summary
private void readObject(ObjectInputStream ois) throws IOException, ClassNotFoundException

Hides java.lang.Throwable.readObject.

Restores the fields of a BadAttributeValueExpException from the stream. If the 'val' field in the stream does not contain a string it is replaced with an implementation specific string representation of the value in the stream.

Parameters
ois:ObjectInputStream

an ObjectInput Stream

Exceptions
IOException:
thrown if an error occurs
ClassNotFoundException:
if a class can not be found
toStringback to summary
public String toString()

Overrides java.lang.Throwable.toString.

Returns the string representing the object.