- 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 aTypeMismatch
object.TypeMismatch(String reason)
Constructs aTypeMismatch
object.
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
TypeMismatch
public TypeMismatch()
Constructs aTypeMismatch
object.
-
TypeMismatch
public TypeMismatch(String reason)
Constructs aTypeMismatch
object.- Parameters:
reason
- aString
giving more information regarding the exception.
-
-