14.10.8.4 Exceptions

PolicyError
This exception is raised to indicate problems with the parameter values passed to the ORB::create_policy operation. The specific exception and reasons are as follows shown in the following table:

Table 14-1 Exception and Reasons

Exception Reason
BAD_POLICY The requested Policy is not understood by the ORB.
UNSUPPORTED_POLICY The requested Policy is understood to be valid by the ORB, but is not currently supported.
BAD_POLICY_TYPE The type of the value requested for the Policy is not valid for that PolicyType.
BAD_POLICY_VALUE The value requested for the Policy is of a valid type, but is not within the valid range for that type.
UNSUPPORTED_POLICY_VALUE The value requested for the Policy is of a valid type and within the valid range for that type, but this valid value is not currently supported.