javax.management
Class BadBinaryOpValueExpException

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

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
See Also:
Serialized Form

Constructor Summary
BadBinaryOpValueExpException(ValueExp exp)
          Constructs a new BadBinaryOpValueExpException using the specified expression to represent the invalid one.
 
Method Summary
 ValueExp getExp()
          Returns the inappropriate value expression associated with this exception.
 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

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.

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)