## Uses of Class
org.omg.CORBA.TypeCodePackage.BadKind

- Packages that use BadKind
  Package | Description
  --- | ---
  org.omg.CORBA | Provides the mapping of the OMG CORBA APIs to the Java™ programming language, including the class `ORB`, which is implemented so that a programmer can use it as a fully-functional Object Request Broker (ORB).
  org.omg.CORBA.TypeCodePackage | Provides the user-defined exceptions `BadKind` and `Bounds`, which are thrown by methods in in the class `TypeCode`.

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

    Methods in org.omg.CORBA that throw BadKind
    Modifier and Type | Method | Description
    --- | --- | ---
    `abstract TypeCode` | TypeCode.`concrete_base_type​()` | Returns the `TypeCode` object that describes the concrete base type of the value type that this `TypeCode` object describes.
    `abstract TypeCode` | TypeCode.`content_type​()` | Returns the `TypeCode` object representing the IDL type for the members of the object described by this `TypeCode` object.
    `abstract int` | TypeCode.`default_index​()` | Returns the index of the default member, or -1 if there is no default member.
    `abstract TypeCode` | TypeCode.`discriminator_type​()` | Returns a `TypeCode` object describing all non-default member labels.
    `abstract short` | TypeCode.`fixed_digits​()` | Returns the number of digits in the fixed type described by this `TypeCode` object.
    `abstract short` | TypeCode.`fixed_scale​()` | Returns the scale of the fixed type described by this `TypeCode` object.
    `abstract String` | TypeCode.`id​()` | Retrieves the RepositoryId globally identifying the type of this `TypeCode` object.
    `abstract int` | TypeCode.`length​()` | Returns the number of elements in the type described by this `TypeCode` object.
    `abstract int` | TypeCode.`member_count​()` | Retrieves the number of members in the type described by this `TypeCode` object.
    `abstract Any` | TypeCode.`member_label​(int index)` | Retrieves the label of the union member identified by the given index.
    `abstract String` | TypeCode.`member_name​(int index)` | Retrieves the simple name of the member identified by the given index.
    `abstract TypeCode` | TypeCode.`member_type​(int index)` | Retrieves the `TypeCode` object describing the type of the member identified by the given index.
    `abstract short` | TypeCode.`member_visibility​(int index)` | Returns the constant that indicates the visibility of the member at the given index.
    `abstract String` | TypeCode.`name​()` | Retrieves the simple name identifying this `TypeCode` object within its enclosing scope.
    `abstract short` | TypeCode.`type_modifier​()` | Returns a constant indicating the modifier of the value type that this `TypeCode` object describes.

  - ### Uses of BadKind in org.omg.CORBA.TypeCodePackage

    Methods in org.omg.CORBA.TypeCodePackage that return BadKind
    Modifier and Type | Method | Description
    --- | --- | ---
    `static BadKind` | BadKindHelper.`extract​(Any a)` |
    `static BadKind` | BadKindHelper.`read​(InputStream istream)` |

    Methods in org.omg.CORBA.TypeCodePackage with parameters of type BadKind
    Modifier and Type | Method | Description
    --- | --- | ---
    `static void` | BadKindHelper.`insert​(Any a, BadKind that)` |
    `static void` | BadKindHelper.`write​(OutputStream ostream, BadKind value)` |