Module  java.corba

Class TypeMismatch

  • All Implemented Interfaces:
    SerializableIDLEntity


    public final class TypeMismatch
    extends UserException
    当实际内容的类型与尝试访问的内容不匹配时,TypeMismatch将被动态的任何访问器方法抛出。
    • 构造方法详细信息

      • TypeMismatch

        public TypeMismatch​()
        构造一个 TypeMismatch对象。
      • TypeMismatch

        public TypeMismatch​(String reason)
        构造一个 TypeMismatch对象。
        参数
        reason - a String giving more information regarding the exception.