# Package org.omg.CORBA.ORBPackage

Provides the exception `InvalidName`, which is thrown by the method `ORB.resolve_initial_references` and the exception `InconsistentTypeCode`, which is thrown by the Dynamic Any creation methods in the ORB class.

See: Description

- Exception Summary
  Exception | Description
  --- | ---
  InconsistentTypeCode | InconsistentTypeCode is thrown when an attempt is made to create a dynamic any with a type code that does not match the particular subclass of `DynAny`.
  InvalidName | The `InvalidName` exception is raised when `ORB.resolve_initial_references` is passed a name for which there is no initial reference.

## Package org.omg.CORBA.ORBPackage Description

Provides the exception `InvalidName`, which is thrown by the method `ORB.resolve_initial_references` and the exception `InconsistentTypeCode`, which is thrown by the Dynamic Any creation methods in the ORB class.

## Related Documentation

For an overview, please see:

- comments on the `CORBA` package

Since:
  JDK1.2

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, 2016, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.