Uses of Class org.omg.CORBA.PolicyError (Java Platform SE 8 )
Date: 2026-04-17

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

- Packages that use PolicyError
  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.PortableInterceptor | Provides a mechanism to register ORB hooks through which ORB services can intercept the normal flow of execution of the ORB.

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

    Fields in org.omg.CORBA declared as PolicyError
    Modifier and Type | Field and Description
    --- | ---
    `PolicyError` | PolicyErrorHolder.`value`

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

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

    Methods in org.omg.CORBA that throw PolicyError
    Modifier and Type | Method and Description
    --- | ---
    `Policy` | ORB.`create_policy(int type, Any val)` Can be invoked to create new instances of policy objects of a specific type with specified initial state.

    Constructors in org.omg.CORBA with parameters of type PolicyError
    Constructor and Description
    `PolicyErrorHolder(PolicyError initialValue)`

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

    Methods in org.omg.PortableInterceptor that throw PolicyError
    Modifier and Type | Method and Description
    --- | ---
    `Policy` | PolicyFactoryOperations.`create_policy(int type, Any value)` Returns an instance of the appropriate interface derived from `CORBA.Policy` whose value corresponds to the specified any.

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.