javax.management

Class BadBinaryOpValueExpException

public class BadBinaryOpValueExpException extends Exception

Thrown when the expression passed to a method for constructing 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

Constructor Summary
BadBinaryOpValueExpException(ValueExp exp)
Constructs a new BadBinaryOpValueExpException using the specified expression to represent the invalid one.
Method Summary
ValueExpgetExp()
Returns the inappropriate value expression associated with this exception.
StringtoString()
Returns a textual representation of this instance.

Constructor Detail

BadBinaryOpValueExpException

public BadBinaryOpValueExpException(ValueExp exp)
Constructs a new BadBinaryOpValueExpException using the specified expression to represent the invalid one.

Parameters: exp the inappropriate value expression.

Method Detail

getExp

public ValueExp getExp()
Returns the inappropriate value expression associated with this exception.

Returns: the value expression.

toString

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

Returns: a @link{java.lang.String} instance representing the instance in textual form.