JavaTM 2 Platform
Standard Ed. 6

javax.management
类 BadBinaryOpValueExpException

java.lang.Object
  继承者 java.lang.Throwable
      继承者 java.lang.Exception
          继承者 javax.management.BadBinaryOpValueExpException
所有已实现的接口:
Serializable

public class BadBinaryOpValueExpException
extends Exception

向构造查询的方法传递无效的表达式时,抛出此异常。在查询计算期间,由 JMX 在内部使用此异常。用户代码通常无法看到它。

从以下版本开始:
1.5
另请参见:
序列化表格

构造方法摘要
BadBinaryOpValueExpException(ValueExp exp)
          构造带指定 ValueExpBadBinaryOpValueExpException
 
方法摘要
 ValueExp getExp()
          返回产生该异常的 ValueExp
 String toString()
          返回该对象的字符串表示形式。
 
从类 java.lang.Throwable 继承的方法
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

构造方法详细信息

BadBinaryOpValueExpException

public BadBinaryOpValueExpException(ValueExp exp)
构造带指定 ValueExpBadBinaryOpValueExpException

参数:
exp - 其值不合适的表达式。
方法详细信息

getExp

public ValueExp getExp()
返回产生该异常的 ValueExp

返回:
导致问题的 ValueExp

toString

public String toString()
返回该对象的字符串表示形式。

覆盖:
Throwable 中的 toString
返回:
该 throwable 的字符串表示形式。

JavaTM 2 Platform
Standard Ed. 6

提交错误或意见

版权所有 2008 Sun Microsystems, Inc. 保留所有权利。请遵守GNU General Public License, version 2 only