|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.omg.CORBA.UserException
org.omg.CORBA.PolicyError
public final class PolicyError
The exception is thrown when a policy error occurs.
A PolicyError exception may include one of the following error reason codes:
BAD_POLICY, BAD_POLICY_TYPE,
BAD_POLICY_VALUE, UNSUPPORTED_POLICY,
UNSUPPORTED_POLICY_VALUE.
| Field Summary | |
|---|---|
short |
reason
Holds the exception reason code, one of BAD_POLICY, BAD_POLICY_TYPE,
BAD_POLICY_VALUE, UNSUPPORTED_POLICY,
UNSUPPORTED_POLICY_VALUE. |
| Constructor Summary | |
|---|---|
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. |
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public short reason
BAD_POLICY, BAD_POLICY_TYPE,
BAD_POLICY_VALUE, UNSUPPORTED_POLICY,
UNSUPPORTED_POLICY_VALUE.
| Constructor Detail |
|---|
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.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||