- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.omg.CORBA.UserException
-
- org.omg.CORBA.DynAnyPackage.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 Summary
Constructors Constructor Description TypeMismatch()Constructs aTypeMismatchobject.TypeMismatch(String reason)Constructs aTypeMismatchobject.
-
Method Summary
-
Methods declared in class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods declared in class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
TypeMismatch
public TypeMismatch()
Constructs aTypeMismatchobject.
-
TypeMismatch
public TypeMismatch(String reason)
Constructs aTypeMismatchobject.- Parameters:
reason- aStringgiving more information regarding the exception.
-
-