javax.management
Class BadBinaryOpValueExpException

java.lang.Object sample code for java.lang.Object definition code for java.lang.Object 
  extended by java.lang.Throwable sample code for java.lang.Throwable definition code for java.lang.Throwable 
      extended by java.lang.Exception sample code for java.lang.Exception definition code for java.lang.Exception 
          extended by javax.management.BadBinaryOpValueExpException
All Implemented Interfaces:
Serializable sample code for java.io.Serializable definition code for java.io.Serializable

public class BadBinaryOpValueExpException
extends Exception sample code for java.lang.Exception definition code for java.lang.Exception

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

Since:
1.5
See Also:
Serialized Form

Constructor Summary
BadBinaryOpValueExpException sample code for javax.management.BadBinaryOpValueExpException.BadBinaryOpValueExpException(javax.management.ValueExp) definition code for javax.management.BadBinaryOpValueExpException.BadBinaryOpValueExpException(javax.management.ValueExp) (ValueExp sample code for javax.management.ValueExp definition code for javax.management.ValueExp  exp)
          Constructs a BadBinaryOpValueExpException with the specified ValueExp.
 
Method Summary
 ValueExp sample code for javax.management.ValueExp definition code for javax.management.ValueExp getExp sample code for javax.management.BadBinaryOpValueExpException.getExp() definition code for javax.management.BadBinaryOpValueExpException.getExp() ()
          Returns the ValueExp that originated the exception.
 String sample code for java.lang.String definition code for java.lang.String toString sample code for javax.management.BadBinaryOpValueExpException.toString() definition code for javax.management.BadBinaryOpValueExpException.toString() ()
          Returns the string representing the object.
 
Methods inherited from class java.lang.Throwable sample code for java.lang.Throwable definition code for java.lang.Throwable
fillInStackTrace sample code for java.lang.Throwable.fillInStackTrace() definition code for java.lang.Throwable.fillInStackTrace() , getCause sample code for java.lang.Throwable.getCause() definition code for java.lang.Throwable.getCause() , getLocalizedMessage sample code for java.lang.Throwable.getLocalizedMessage() definition code for java.lang.Throwable.getLocalizedMessage() , getMessage sample code for java.lang.Throwable.getMessage() definition code for java.lang.Throwable.getMessage() , getStackTrace sample code for java.lang.Throwable.getStackTrace() definition code for java.lang.Throwable.getStackTrace() , initCause sample code for java.lang.Throwable.initCause(java.lang.Throwable) definition code for java.lang.Throwable.initCause(java.lang.Throwable) , printStackTrace sample code for java.lang.Throwable.printStackTrace() definition code for java.lang.Throwable.printStackTrace() , printStackTrace sample code for java.lang.Throwable.printStackTrace(java.io.PrintStream) definition code for java.lang.Throwable.printStackTrace(java.io.PrintStream) , printStackTrace sample code for java.lang.Throwable.printStackTrace(java.io.PrintWriter) definition code for java.lang.Throwable.printStackTrace(java.io.PrintWriter) , setStackTrace sample code for java.lang.Throwable.setStackTrace(java.lang.StackTraceElement[]) definition code for java.lang.Throwable.setStackTrace(java.lang.StackTraceElement[])
 
Methods inherited from class java.lang.Object sample code for java.lang.Object definition code for java.lang.Object
clone sample code for java.lang.Object.clone() definition code for java.lang.Object.clone() , equals sample code for java.lang.Object.equals(java.lang.Object) definition code for java.lang.Object.equals(java.lang.Object) , finalize sample code for java.lang.Object.finalize() definition code for java.lang.Object.finalize() , getClass sample code for java.lang.Object.getClass() definition code for java.lang.Object.getClass() , hashCode sample code for java.lang.Object.hashCode() definition code for java.lang.Object.hashCode() , notify sample code for java.lang.Object.notify() definition code for java.lang.Object.notify() , notifyAll sample code for java.lang.Object.notifyAll() definition code for java.lang.Object.notifyAll() , wait sample code for java.lang.Object.wait() definition code for java.lang.Object.wait() , wait sample code for java.lang.Object.wait(long) definition code for java.lang.Object.wait(long) , wait sample code for java.lang.Object.wait(long, int) definition code for java.lang.Object.wait(long, int)
 

Constructor Detail

BadBinaryOpValueExpException sample code for javax.management.BadBinaryOpValueExpException(javax.management.ValueExp) definition code for javax.management.BadBinaryOpValueExpException(javax.management.ValueExp)

public BadBinaryOpValueExpException(ValueExp sample code for javax.management.ValueExp definition code for javax.management.ValueExp  exp)
Constructs a BadBinaryOpValueExpException with the specified ValueExp.

Parameters:
exp - the expression whose value was inappropriate.
Method Detail

getExp sample code for javax.management.BadBinaryOpValueExpException.getExp() definition code for javax.management.BadBinaryOpValueExpException.getExp()

public ValueExp sample code for javax.management.ValueExp definition code for javax.management.ValueExp  getExp()
Returns the ValueExp that originated the exception.

Returns:
the problematic ValueExp sample code for javax.management.ValueExp definition code for javax.management.ValueExp .

toString sample code for javax.management.BadBinaryOpValueExpException.toString() definition code for javax.management.BadBinaryOpValueExpException.toString()

public String sample code for java.lang.String definition code for java.lang.String  toString()
Returns the string representing the object.

Overrides:
toString sample code for java.lang.Throwable.toString() definition code for java.lang.Throwable.toString() in class Throwable sample code for java.lang.Throwable definition code for java.lang.Throwable
Returns:
a string representation of this throwable.