public final class PolicyError extends UserException implements IDLEntity, Serializable
BAD_POLICY, BAD_POLICY_TYPE,
BAD_POLICY_VALUE, UNSUPPORTED_POLICY,
UNSUPPORTED_POLICY_VALUE.| Modifier and Type | Field and Description |
|---|---|
short |
reason
Holds the exception reason code, one of
BAD_POLICY, BAD_POLICY_TYPE,
BAD_POLICY_VALUE, UNSUPPORTED_POLICY,
UNSUPPORTED_POLICY_VALUE. |
| Constructor and Description |
|---|
PolicyError()
Constructs an uninitialised instance of the policy error.
|
PolicyError(short a_reason)
Constructs the policy error with the given reason code.
|
PolicyError(String a_details,
short a_reason)
Constructs the policy error with the given reason code and the
detailed message.
|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic short reason
BAD_POLICY, BAD_POLICY_TYPE,
BAD_POLICY_VALUE, UNSUPPORTED_POLICY,
UNSUPPORTED_POLICY_VALUE.public PolicyError()
public PolicyError(short a_reason)
a_reason - a reason code, one of
BAD_POLICY, BAD_POLICY_TYPE,
BAD_POLICY_VALUE, UNSUPPORTED_POLICY,
UNSUPPORTED_POLICY_VALUE.public PolicyError(String a_details, short a_reason)
a_details - the detailed message.a_reason - a reason code, one of
BAD_POLICY, BAD_POLICY_TYPE,
BAD_POLICY_VALUE, UNSUPPORTED_POLICY,
UNSUPPORTED_POLICY_VALUE.