PolicyErrorpublic final class PolicyError extends org.omg.CORBA.UserException A user exception thrown when a policy error occurs. A PolicyError
exception may include one of the following policy error reason codes
defined in the org.omg.CORBA package: BAD_POLICY, BAD_POLICY_TYPE,
BAD_POLICY_VALUE, UNSUPPORTED_POLICY, UNSUPPORTED_POLICY_VALUE. |
Fields Summary |
---|
public short | reasonThe reason for the PolicyError exception being thrown. |
Constructors Summary |
---|
public PolicyError()Constructs a default PolicyError user exception
with no reason code and an empty reason detail message.
super();
| public PolicyError(short __reason)Constructs a PolicyError user exception
initialized with the given reason code and an empty reason detail message.
super();
reason = __reason;
| public PolicyError(String reason_string, short __reason)Constructs a PolicyError user exception
initialized with the given reason detail message and reason code.
super(reason_string);
reason = __reason;
|
|