Package org.omg.CORBA.DynAnyPackage
Class TypeMismatch
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.omg.CORBA.UserException
org.omg.CORBA.DynAnyPackage.TypeMismatch
- All Implemented Interfaces:
Serializable
,IDLEntity
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
ConstructorsConstructorDescriptionConstructs aTypeMismatch
object.TypeMismatch
(String reason) Constructs aTypeMismatch
object. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
TypeMismatch
public TypeMismatch()Constructs aTypeMismatch
object. -
TypeMismatch
Constructs aTypeMismatch
object.- Parameters:
reason
- aString
giving more information regarding the exception.
-