FileDocCategorySizeDatePackage
PolicyError.javaAPI DocJava SE 5 API1525Fri Aug 26 14:58:32 BST 2005org.omg.CORBA

PolicyError

public 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
reason
The 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.

param
__reason the reason code.

	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.

param
reason_string the reason detail message.
param
__reason the reason code.

	super(reason_string);
	reason = __reason;
    
Methods Summary