## Uses of Class
org.omg.IOP.CodecPackage.TypeMismatch

- Packages that use TypeMismatch
  Package | Description
  --- | ---
  org.omg.IOP | This package contains the `IOP` module specified in the OMG document The Common Object Request Broker: Architecture and Specification, http://cgi.omg.org/cgi-bin/doc?formal/99-10-07, section 13.6.
  org.omg.IOP.CodecPackage | This package is generated from the IOP::Codec IDL interface definition.

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

    Methods in org.omg.IOP that throw TypeMismatch
    Modifier and Type | Method | Description
    --- | --- | ---
    `Any` | CodecOperations.`decode_value(byte[] data, TypeCode tc)` Decodes the given byte array into an Any based on the given `TypeCode` and the encoding format effective for this `Codec`.

  - ### Uses of TypeMismatch in org.omg.IOP.CodecPackage

    Methods in org.omg.IOP.CodecPackage that return TypeMismatch
    Modifier and Type | Method | Description
    --- | --- | ---
    `static TypeMismatch` | TypeMismatchHelper.`extract(Any a)`
    `static TypeMismatch` | TypeMismatchHelper.`read(InputStream istream)`

    Methods in org.omg.IOP.CodecPackage with parameters of type TypeMismatch
    Modifier and Type | Method | Description
    --- | --- | ---
    `static void` | TypeMismatchHelper.`insert(Any a, TypeMismatch that)`
    `static void` | TypeMismatchHelper.`write(OutputStream ostream, TypeMismatch value)`

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.