JavaTM 2 Platform
Standard Ed. 6

org.omg.CORBA.ORBPackage
类 InconsistentTypeCode

java.lang.Object
  继承者 java.lang.Throwable
      继承者 java.lang.Exception
          继承者 org.omg.CORBA.UserException
              继承者 org.omg.CORBA.ORBPackage.InconsistentTypeCode
所有已实现的接口:
Serializable, IDLEntity

public final class InconsistentTypeCode
extends UserException

当试图使用与特定的 DynAny 子类不匹配的类型代码创建动态 any 时将抛出 InconsistentTypeCode。


构造方法摘要
InconsistentTypeCode()
          构造一个不带任何原因信息的 InconsistentTypeCode 用户异常。
InconsistentTypeCode(String reason)
          构造一个带有指定原因信息的 InconsistentTypeCode 用户异常。
 
方法摘要
 
从类 java.lang.Throwable 继承的方法
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

构造方法详细信息

InconsistentTypeCode

public InconsistentTypeCode()
构造一个不带任何原因信息的 InconsistentTypeCode 用户异常。


InconsistentTypeCode

public InconsistentTypeCode(String reason)
构造一个带有指定原因信息的 InconsistentTypeCode 用户异常。

参数:
reason - 包含原因消息的 String。

JavaTM 2 Platform
Standard Ed. 6

提交错误或意见

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