javax.management
Class BadBinaryOpValueExpException
java.lang.Object
java.lang.Throwable
java.lang.Exception
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
Method Summary |
ValueExp |
getExp()
Returns the inappropriate value expression associated
with this exception. |
String |
toString()
Returns a textual representation of this instance. |
BadBinaryOpValueExpException
public BadBinaryOpValueExpException(ValueExp exp)
- Constructs a new
BadBinaryOpValueExpException
using the specified expression to represent the invalid one.
- Parameters:
exp
- the inappropriate value expression.
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)