## Uses of Class
org.omg.CORBA.UserException

- Packages that use UserException
  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).
  org.omg.CORBA.DynAnyPackage | Provides the exceptions used with the `DynAny` interface (`InvalidValue`, `Invalid`, `InvalidSeq`, and `TypeMismatch`).
  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.
  org.omg.CORBA.TypeCodePackage | Provides the user-defined exceptions `BadKind` and `Bounds`, which are thrown by methods in in the class `TypeCode`.
  org.omg.CosNaming.NamingContextExtPackage | This package contains the following classes, which are used in `org.omg.CosNaming.NamingContextExt`:
  org.omg.CosNaming.NamingContextPackage | This package contains Exception classes for the `org.omg.CosNaming` package.
  org.omg.IOP.CodecFactoryPackage | This package contains the exceptions specified in the IOP::CodeFactory interface (as part of the Portable Interceptors spec).
  org.omg.IOP.CodecPackage | This package is generated from the IOP::Codec IDL interface definition.
  org.omg.PortableInterceptor | Provides a mechanism to register ORB hooks through which ORB services can intercept the normal flow of execution of the ORB.
  org.omg.PortableInterceptor.ORBInitInfoPackage | This package contains the exceptions and typedefs from the `ORBInitInfo` local interface of the `PortableInterceptor` module specified in the OMG Portable Interceptor specification, http://cgi.omg.org/cgi-bin/doc?ptc/2000-08-06, section 21.7.2.
  org.omg.PortableServer | Provides classes and interfaces for making the server side of your applications portable across multivendor ORBs.
  org.omg.PortableServer.CurrentPackage | Provides method implementations with access to the identity of the object on which the method was invoked.
  org.omg.PortableServer.POAManagerPackage | Encapsulates the processing state of the POAs it is associated with.
  org.omg.PortableServer.POAPackage | Allows programmers to construct object implementations that are portable between different ORB products.

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

    Subclasses of UserException in org.omg.CORBA
    Modifier and Type | Class and Description
    --- | ---
    `class` | `Bounds` A user exception thrown when a parameter is not within the legal bounds for the object that a method is trying to access.
    `class` | `PolicyError` A user exception thrown when a policy error occurs.
    `class` | `UnknownUserException` A class that contains user exceptions returned by the server.
    `class` | `WrongTransaction` The CORBA `WrongTransaction` user-defined exception.

  - ### Uses of UserException in org.omg.CORBA.DynAnyPackage

    Subclasses of UserException in org.omg.CORBA.DynAnyPackage
    Modifier and Type | Class and Description
    --- | ---
    `class` | `Invalid` Invalid is thrown by dynamic any operations when a bad `DynAny` or `Any` is passed as a parameter.
    `class` | `InvalidSeq` The InvalidSeq exception is thrown by all operations on dynamic anys that take a sequence (Java array) as an argument, when that sequence is invalid.
    `class` | `InvalidValue`
    `class` | `TypeMismatch` TypeMismatch is thrown by dynamic any accessor methods when type of the actual contents do not match what is trying to be accessed.

  - ### Uses of UserException in org.omg.CORBA.ORBPackage

    Subclasses of UserException in org.omg.CORBA.ORBPackage
    Modifier and Type | Class and Description
    --- | ---
    `class` | `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`.
    `class` | `InvalidName` The `InvalidName` exception is raised when `ORB.resolve_initial_references` is passed a name for which there is no initial reference.

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

    Subclasses of UserException in org.omg.CORBA.TypeCodePackage
    Modifier and Type | Class and Description
    --- | ---
    `class` | `BadKind` The exception `BadKind` is thrown when an inappropriate operation is invoked on a `TypeCode` object.

  - ### Uses of UserException in org.omg.CosNaming.NamingContextExtPackage

    Subclasses of UserException in org.omg.CosNaming.NamingContextExtPackage
    Modifier and Type | Class and Description
    --- | ---
    `class` | `InvalidAddress` org/omg/CosNaming/NamingContextExtPackage/InvalidAddress.java .

  - ### Uses of UserException in org.omg.CosNaming.NamingContextPackage

    Subclasses of UserException in org.omg.CosNaming.NamingContextPackage
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AlreadyBound` org/omg/CosNaming/NamingContextPackage/AlreadyBound.java .
    `class` | `CannotProceed` org/omg/CosNaming/NamingContextPackage/CannotProceed.java .
    `class` | `NotEmpty` org/omg/CosNaming/NamingContextPackage/NotEmpty.java .
    `class` | `NotFound` org/omg/CosNaming/NamingContextPackage/NotFound.java .

  - ### Uses of UserException in org.omg.IOP.CodecFactoryPackage

    Subclasses of UserException in org.omg.IOP.CodecFactoryPackage
    Modifier and Type | Class and Description
    --- | ---
    `class` | `UnknownEncoding` org/omg/IOP/CodecFactoryPackage/UnknownEncoding.java .

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

    Subclasses of UserException in org.omg.IOP.CodecPackage
    Modifier and Type | Class and Description
    --- | ---
    `class` | `FormatMismatch` org/omg/IOP/CodecPackage/FormatMismatch.java .
    `class` | `InvalidTypeForEncoding` org/omg/IOP/CodecPackage/InvalidTypeForEncoding.java .

  - ### Uses of UserException in org.omg.PortableInterceptor

    Subclasses of UserException in org.omg.PortableInterceptor
    Modifier and Type | Class and Description
    --- | ---
    `class` | `InvalidSlot` org/omg/PortableInterceptor/InvalidSlot.java .

  - ### Uses of UserException in org.omg.PortableInterceptor.ORBInitInfoPackage

    Subclasses of UserException in org.omg.PortableInterceptor.ORBInitInfoPackage
    Modifier and Type | Class and Description
    --- | ---
    `class` | `DuplicateName` org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateName.java .

  - ### Uses of UserException in org.omg.PortableServer

    Subclasses of UserException in org.omg.PortableServer
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ForwardRequest` org/omg/PortableServer/ForwardRequest.java .

  - ### Uses of UserException in org.omg.PortableServer.CurrentPackage

    Subclasses of UserException in org.omg.PortableServer.CurrentPackage
    Modifier and Type | Class and Description
    --- | ---
    `class` | `NoContext` org/omg/PortableServer/CurrentPackage/NoContext.java .

  - ### Uses of UserException in org.omg.PortableServer.POAManagerPackage

    Subclasses of UserException in org.omg.PortableServer.POAManagerPackage
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AdapterInactive` org/omg/PortableServer/POAManagerPackage/AdapterInactive.java .

  - ### Uses of UserException in org.omg.PortableServer.POAPackage

    Subclasses of UserException in org.omg.PortableServer.POAPackage
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AdapterAlreadyExists` org/omg/PortableServer/POAPackage/AdapterAlreadyExists.java .
    `class` | `AdapterNonExistent` org/omg/PortableServer/POAPackage/AdapterNonExistent.java .
    `class` | `InvalidPolicy` org/omg/PortableServer/POAPackage/InvalidPolicy.java .
    `class` | `NoServant` org/omg/PortableServer/POAPackage/NoServant.java .
    `class` | `ObjectAlreadyActive` org/omg/PortableServer/POAPackage/ObjectAlreadyActive.java .
    `class` | `ObjectNotActive` org/omg/PortableServer/POAPackage/ObjectNotActive.java .
    `class` | `ServantAlreadyActive` org/omg/PortableServer/POAPackage/ServantAlreadyActive.java .
    `class` | `ServantNotActive` org/omg/PortableServer/POAPackage/ServantNotActive.java .
    `class` | `WrongAdapter` org/omg/PortableServer/POAPackage/WrongAdapter.java .
    `class` | `WrongPolicy` org/omg/PortableServer/POAPackage/WrongPolicy.java .

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.