Uses of Class org.omg.CORBA.DynAnyPackage.TypeMismatch (Java Platform SE 8 )
Date: 2026-07-22

## Uses of Class
org.omg.CORBA.DynAnyPackage.TypeMismatch

- Packages that use TypeMismatch
  Package | Description
  --- | ---
  org.omg.CORBA | Provides the mapping of the OMG CORBA APIs to the JavaTM programming language, including the class `ORB`, which is implemented so that a programmer can use it as a fully-functional Object Request Broker (ORB).

- - ### Uses of TypeMismatch in org.omg.CORBA

    Methods in org.omg.CORBA that throw TypeMismatch
    Modifier and Type | Method and Description
    --- | ---
    `Any` | DynAny.`get_any()` Deprecated. Retrieves the `org.omg.CORBA.Any` contained in this `DynAny` object.
    `boolean` | DynAny.`get_boolean()` Deprecated. Retrieves the `boolean` contained in this `DynAny` object.
    `char` | DynAny.`get_char()` Deprecated. Retrieves the `char` contained in this `DynAny` object.
    `double` | DynAny.`get_double()` Deprecated. Retrieves the `double` contained in this `DynAny` object.
    `float` | DynAny.`get_float()` Deprecated. Retrieves the `float` contained in this `DynAny` object.
    `int` | DynAny.`get_long()` Deprecated. Retrieves the `int` contained in this `DynAny` object.
    `long` | DynAny.`get_longlong()` Deprecated. Retrieves the `long` contained in this `DynAny` object.
    `byte` | DynAny.`get_octet()` Deprecated. Retrieves the `byte` contained in this `DynAny` object.
    `Object` | DynAny.`get_reference()` Deprecated. Retrieves the `org.omg.CORBA.Other` contained in this `DynAny` object.
    `short` | DynAny.`get_short()` Deprecated. Retrieves the `short` contained in this `DynAny` object.
    `String` | DynAny.`get_string()` Deprecated. Retrieves the `String` contained in this `DynAny` object.
    `TypeCode` | DynAny.`get_typecode()` Deprecated. Retrieves the `org.omg.CORBA.TypeCode` contained in this `DynAny` object.
    `int` | DynAny.`get_ulong()` Deprecated. Retrieves the `int` contained in this `DynAny` object.
    `long` | DynAny.`get_ulonglong()` Deprecated. Retrieves the `long` contained in this `DynAny` object.
    `short` | DynAny.`get_ushort()` Deprecated. Retrieves the `short` contained in this `DynAny` object.
    `Serializable` | DynAny.`get_val()` Deprecated. Retrieves the `java.io.Serializable` object contained in this `DynAny` object.
    `char` | DynAny.`get_wchar()` Deprecated. Retrieves the `char` contained in this `DynAny` object.
    `String` | DynAny.`get_wstring()` Deprecated. Retrieves the `String` contained in this `DynAny` object.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.