Module java.corba

Class TypeMismatch

  • All Implemented Interfaces:
    Serializable, IDLEntity

    public final class TypeMismatch
    extends UserException
    TypeMismatch is thrown by dynamic any accessor methods when type of the actual contents do not match what is trying to be accessed.
    • Constructor Detail

      • TypeMismatch

        public TypeMismatch()
        Constructs a TypeMismatch object.
      • TypeMismatch

        public TypeMismatch​(String reason)
        Constructs a TypeMismatch object.
        reason - a String giving more information regarding the exception.