Package com.sun.identity.entitlement
Class EntitlementException
- java.lang.Object
- 
- java.lang.Throwable
- 
- java.lang.Exception
- 
- com.sun.identity.entitlement.EntitlementException
 
 
 
- 
- All Implemented Interfaces:
- Serializable
 
 @SupportedAll public class EntitlementException extends Exception Entitlement related exception.- See Also:
- Serialized Form
 
- 
- 
Field Summary
 - 
Constructor SummaryConstructors Constructor Description EntitlementException(int errorCode)Creates an entitlement exception.EntitlementException(int errorCode, Object... params)Creates an entitlement exception.EntitlementException(int errorCode, Object[] params, Throwable cause)Creates an entitlement exception.EntitlementException(int errorCode, Throwable cause)Creates an entitlement exception.EntitlementException(int errorCode, Throwable cause, Object... params)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetErrorCode()Returns error code.StringgetLocalizedMessage()Returns localized exception message.StringgetLocalizedMessage(Locale locale)Returns localized exception message using the errorCode as key.StringgetMessage()Returns exception message.- 
Methods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
- 
 
- 
- 
- 
Field Detail- 
RES_BUNDLE_NAMEpublic static final String RES_BUNDLE_NAME - See Also:
- Constant Field Values
 
 - 
UNABLE_TO_CREATE_POLICYpublic static final int UNABLE_TO_CREATE_POLICY - See Also:
- Constant Field Values
 
 - 
INVALID_PRIVILEGE_CLASSpublic static final int INVALID_PRIVILEGE_CLASS - See Also:
- Constant Field Values
 
 - 
EMPTY_PRIVILEGE_NAMEpublic static final int EMPTY_PRIVILEGE_NAME - See Also:
- Constant Field Values
 
 - 
NULL_ENTITLEMENTpublic static final int NULL_ENTITLEMENT - See Also:
- Constant Field Values
 
 - 
UNSUPPORTED_OPERATIONpublic static final int UNSUPPORTED_OPERATION - See Also:
- Constant Field Values
 
 - 
INVALID_APPLICATION_CLASSpublic static final int INVALID_APPLICATION_CLASS - See Also:
- Constant Field Values
 
 - 
INVALID_XMLpublic static final int INVALID_XML - See Also:
- Constant Field Values
 
 - 
INVALID_WSDL_LOCATIONpublic static final int INVALID_WSDL_LOCATION - See Also:
- Constant Field Values
 
 - 
MISSING_PRIVILEGE_JSONpublic static final int MISSING_PRIVILEGE_JSON - See Also:
- Constant Field Values
 
 - 
SESSION_HAS_EXPIREDpublic static final int SESSION_HAS_EXPIRED - See Also:
- Constant Field Values
 
 - 
INVALID_JSONpublic static final int INVALID_JSON - See Also:
- Constant Field Values
 
 - 
MISSING_PRIVILEGE_NAMEpublic static final int MISSING_PRIVILEGE_NAME - See Also:
- Constant Field Values
 
 - 
POLICY_NAME_MISMATCHpublic static final int POLICY_NAME_MISMATCH - See Also:
- Constant Field Values
 
 - 
RESOURCE_LIST_EMPTYpublic static final int RESOURCE_LIST_EMPTY - See Also:
- Constant Field Values
 
 - 
RESOURCE_TYPE_ID_MISMATCHpublic static final int RESOURCE_TYPE_ID_MISMATCH - See Also:
- Constant Field Values
 
 - 
UNSUPPORTED_SUBJECT_INDEXpublic static final int UNSUPPORTED_SUBJECT_INDEX - See Also:
- Constant Field Values
 
 - 
UNABLE_TO_CREATE_SUBJECT_INDEXpublic static final int UNABLE_TO_CREATE_SUBJECT_INDEX - See Also:
- Constant Field Values
 
 - 
UNKNOWN_IDENTITYpublic static final int UNKNOWN_IDENTITY - See Also:
- Constant Field Values
 
 - 
UNABLE_TO_QUERY_POLICY_INVALID_UIDpublic static final int UNABLE_TO_QUERY_POLICY_INVALID_UID - See Also:
- Constant Field Values
 
 - 
UNABLE_TO_SERIALIZE_OBJECTpublic static final int UNABLE_TO_SERIALIZE_OBJECT - See Also:
- Constant Field Values
 
 - 
NO_SUCH_POLICYpublic static final int NO_SUCH_POLICY - See Also:
- Constant Field Values
 
 - 
UNABLE_SEARCH_PRIVILEGESpublic static final int UNABLE_SEARCH_PRIVILEGES - See Also:
- Constant Field Values
 
 - 
UNABLE_SEARCH_PRIVILEGES_MISSING_TOKENpublic static final int UNABLE_SEARCH_PRIVILEGES_MISSING_TOKEN - See Also:
- Constant Field Values
 
 - 
POLICY_ALREADY_EXISTSpublic static final int POLICY_ALREADY_EXISTS - See Also:
- Constant Field Values
 
 - 
RESOURCE_TYPE_ALREADY_EXISTSpublic static final int RESOURCE_TYPE_ALREADY_EXISTS - See Also:
- Constant Field Values
 
 - 
NO_SUCH_RESOURCE_TYPEpublic static final int NO_SUCH_RESOURCE_TYPE - See Also:
- Constant Field Values
 
 - 
RESOURCE_TYPE_IN_USEpublic static final int RESOURCE_TYPE_IN_USE - See Also:
- Constant Field Values
 
 - 
RESOURCE_TYPE_RETRIEVAL_ERRORpublic static final int RESOURCE_TYPE_RETRIEVAL_ERROR - See Also:
- Constant Field Values
 
 - 
APPLICATION_ALREADY_EXISTSpublic static final int APPLICATION_ALREADY_EXISTS - See Also:
- Constant Field Values
 
 - 
APPLICATION_NAME_MISMATCHpublic static final int APPLICATION_NAME_MISMATCH - See Also:
- Constant Field Values
 
 - 
REMOVE_APPLICATION_FAILpublic static final int REMOVE_APPLICATION_FAIL - See Also:
- Constant Field Values
 
 - 
MODIFY_APPLICATION_FAILpublic static final int MODIFY_APPLICATION_FAIL - See Also:
- Constant Field Values
 
 - 
REMOVE_RESOURCE_TYPE_FAILpublic static final int REMOVE_RESOURCE_TYPE_FAIL - See Also:
- Constant Field Values
 
 - 
MODIFY_RESOURCE_TYPE_FAILpublic static final int MODIFY_RESOURCE_TYPE_FAIL - See Also:
- Constant Field Values
 
 - 
RESOURCE_TYPE_REFERENCEDpublic static final int RESOURCE_TYPE_REFERENCED - See Also:
- Constant Field Values
 
 - 
POLICY_DEFINES_INVALID_RESOURCE_TYPEpublic static final int POLICY_DEFINES_INVALID_RESOURCE_TYPE - See Also:
- Constant Field Values
 
 - 
MISSING_RESOURCE_TYPEpublic static final int MISSING_RESOURCE_TYPE - See Also:
- Constant Field Values
 
 - 
INVALID_RESOURCE_TYPEpublic static final int INVALID_RESOURCE_TYPE - See Also:
- Constant Field Values
 
 - 
NO_RESOURCE_TYPE_EXPECTEDpublic static final int NO_RESOURCE_TYPE_EXPECTED - See Also:
- Constant Field Values
 
 - 
MISSING_APPLICATION_NAMEpublic static final int MISSING_APPLICATION_NAME - See Also:
- Constant Field Values
 
 - 
APP_RETRIEVAL_ERRORpublic static final int APP_RETRIEVAL_ERROR - See Also:
- Constant Field Values
 
 - 
MISSING_RESOURCE_TYPE_NAMEpublic static final int MISSING_RESOURCE_TYPE_NAME - See Also:
- Constant Field Values
 
 - 
NO_SUCH_REFERRAL_PRIVILEGEpublic static final int NO_SUCH_REFERRAL_PRIVILEGE - See Also:
- Constant Field Values
 
 - 
NO_RESOURCE_TYPE_MATCH_FOUNDpublic static final int NO_RESOURCE_TYPE_MATCH_FOUND - See Also:
- Constant Field Values
 
 - 
INCONSISTENT_WILDCARDSpublic static final int INCONSISTENT_WILDCARDS - See Also:
- Constant Field Values
 
 - 
INVALID_PORTpublic static final int INVALID_PORT - See Also:
- Constant Field Values
 
 - 
MALFORMED_URLpublic static final int MALFORMED_URL - See Also:
- Constant Field Values
 
 - 
INVALID_RESOURCEpublic static final int INVALID_RESOURCE - See Also:
- Constant Field Values
 
 - 
INVALID_ENTITLEMENT_SUBJECT_CLASSpublic static final int INVALID_ENTITLEMENT_SUBJECT_CLASS - See Also:
- Constant Field Values
 
 - 
INVALID_CLASSpublic static final int INVALID_CLASS - See Also:
- Constant Field Values
 
 - 
INVALID_APP_TYPEpublic static final int INVALID_APP_TYPE - See Also:
- Constant Field Values
 
 - 
INVALID_APP_REALMpublic static final int INVALID_APP_REALM - See Also:
- Constant Field Values
 
 - 
APPLICATION_TYPE_NOT_FOUNDpublic static final int APPLICATION_TYPE_NOT_FOUND - See Also:
- Constant Field Values
 
 - 
NO_SUCH_APPLICATIONpublic static final int NO_SUCH_APPLICATION - See Also:
- Constant Field Values
 
 - 
NOT_FOUNDpublic static final int NOT_FOUND - See Also:
- Constant Field Values
 
 - 
PERMISSION_DENIEDpublic static final int PERMISSION_DENIED - See Also:
- Constant Field Values
 
 - 
SUBJECT_REQUIREDpublic static final int SUBJECT_REQUIRED - See Also:
- Constant Field Values
 
 - 
INVALID_SEARCH_FILTERpublic static final int INVALID_SEARCH_FILTER - See Also:
- Constant Field Values
 
 - 
UNKNOWN_POLICY_CLASSpublic static final int UNKNOWN_POLICY_CLASS - See Also:
- Constant Field Values
 
 - 
UNKNOWN_RESOURCE_ATTRIBUTE_CLASSpublic static final int UNKNOWN_RESOURCE_ATTRIBUTE_CLASS - See Also:
- Constant Field Values
 
 - 
POLICY_CLASS_CAST_EXCEPTIONpublic static final int POLICY_CLASS_CAST_EXCEPTION - See Also:
- Constant Field Values
 
 - 
POLICY_CLASS_NOT_INSTANTIABLEpublic static final int POLICY_CLASS_NOT_INSTANTIABLE - See Also:
- Constant Field Values
 
 - 
POLICY_CLASS_NOT_ACCESSIBLEpublic static final int POLICY_CLASS_NOT_ACCESSIBLE - See Also:
- Constant Field Values
 
 - 
INVALID_PROPERTY_VALUEpublic static final int INVALID_PROPERTY_VALUE - See Also:
- Constant Field Values
 
 - 
INVALID_VALUEpublic static final int INVALID_VALUE - See Also:
- Constant Field Values
 
 - 
START_DATE_AFTER_END_DATEpublic static final int START_DATE_AFTER_END_DATE - See Also:
- Constant Field Values
 
 - 
APP_NOT_DELETED_POLICIES_EXISTpublic static final int APP_NOT_DELETED_POLICIES_EXIST - See Also:
- Constant Field Values
 
 - 
INVALID_PROPERTY_VALUE_UNKNOWN_VALUEpublic static final int INVALID_PROPERTY_VALUE_UNKNOWN_VALUE - See Also:
- Constant Field Values
 
 - 
IP_CONDITION_CONFIGURATION_REQUIREDpublic static final int IP_CONDITION_CONFIGURATION_REQUIRED - See Also:
- Constant Field Values
 
 - 
INACTIVE_SUBJECTpublic static final int INACTIVE_SUBJECT - See Also:
- Constant Field Values
 
 - 
MISSING_RESOURCEpublic static final int MISSING_RESOURCE - See Also:
- Constant Field Values
 
 - 
JSON_PARSE_ERRORpublic static final int JSON_PARSE_ERROR - See Also:
- Constant Field Values
 
 - 
AUTHENTICATION_ERRORpublic static final int AUTHENTICATION_ERROR - See Also:
- Constant Field Values
 
 - 
CLIENT_IP_EMPTYpublic static final int CLIENT_IP_EMPTY - See Also:
- Constant Field Values
 
 - 
RESOURCE_ENV_NOT_KNOWNpublic static final int RESOURCE_ENV_NOT_KNOWN - See Also:
- Constant Field Values
 
 - 
APPLICATION_SEARCH_FAILEDpublic static final int APPLICATION_SEARCH_FAILED - See Also:
- Constant Field Values
 
 - 
INVALID_QUERY_FILTERpublic static final int INVALID_QUERY_FILTER - See Also:
- Constant Field Values
 
 - 
INVALID_QUERY_IDpublic static final int INVALID_QUERY_ID - See Also:
- Constant Field Values
 
 - 
QUERY_ID_MISSING_UIDpublic static final int QUERY_ID_MISSING_UID - See Also:
- Constant Field Values
 
 - 
CONDITION_EVALUATION_FAILEDpublic static final int CONDITION_EVALUATION_FAILED - See Also:
- Constant Field Values
 
 - 
UNABLE_TO_RETRIEVE_SUBJECT_ATTRIBUTEpublic static final int UNABLE_TO_RETRIEVE_SUBJECT_ATTRIBUTE - See Also:
- Constant Field Values
 
 - 
INVALID_OAUTH2_SCOPEpublic static final int INVALID_OAUTH2_SCOPE - See Also:
- Constant Field Values
 
 - 
AUTH_LEVEL_NOT_INTEGERpublic static final int AUTH_LEVEL_NOT_INTEGER - See Also:
- Constant Field Values
 
 - 
PROPERTY_VALUE_NOT_DEFINEDpublic static final int PROPERTY_VALUE_NOT_DEFINED - See Also:
- Constant Field Values
 
 - 
AUTH_LEVEL_NOT_INT_OR_SETpublic static final int AUTH_LEVEL_NOT_INT_OR_SET - See Also:
- Constant Field Values
 
 - 
AUTH_SCHEME_NOT_FOUNDpublic static final int AUTH_SCHEME_NOT_FOUND - See Also:
- Constant Field Values
 
 - 
INVALID_ADMINpublic static final int INVALID_ADMIN - See Also:
- Constant Field Values
 
 - 
AM_ID_SUBJECT_MEMBERSHIP_EVALUATION_ERRORpublic static final int AM_ID_SUBJECT_MEMBERSHIP_EVALUATION_ERROR - See Also:
- Constant Field Values
 
 - 
UNABLE_TO_PARSE_SSOTOKEN_AUTHINSTANTpublic static final int UNABLE_TO_PARSE_SSOTOKEN_AUTHINSTANT - See Also:
- Constant Field Values
 
 - 
AT_LEAST_ONE_OF_TIME_PROPS_SHOULD_BE_DEFINEDpublic static final int AT_LEAST_ONE_OF_TIME_PROPS_SHOULD_BE_DEFINED - See Also:
- Constant Field Values
 
 - 
PAIR_PROPERTY_NOT_DEFINEDpublic static final int PAIR_PROPERTY_NOT_DEFINED - See Also:
- Constant Field Values
 
 - 
END_IP_BEFORE_START_IPpublic static final int END_IP_BEFORE_START_IP - See Also:
- Constant Field Values
 
 - 
INVALID_SCRIPT_IDpublic static final int INVALID_SCRIPT_ID - See Also:
- Constant Field Values
 
 - 
INVALID_EXPIRATION_DATEpublic static final int INVALID_EXPIRATION_DATE - See Also:
- Constant Field Values
 
 - 
MISSING_CLIENT_IDpublic static final int MISSING_CLIENT_ID - See Also:
- Constant Field Values
 
 - 
PROPERTY_IS_NOT_AN_INTEGERpublic static final int PROPERTY_IS_NOT_AN_INTEGER - See Also:
- Constant Field Values
 
 - 
PROPERTY_IS_NOT_A_SETpublic static final int PROPERTY_IS_NOT_A_SET - See Also:
- Constant Field Values
 
 - 
PROPERTY_CONTAINS_BLANK_VALUEpublic static final int PROPERTY_CONTAINS_BLANK_VALUE - See Also:
- Constant Field Values
 
 - 
TRANSACTION_STORAGE_FAILUREpublic static final int TRANSACTION_STORAGE_FAILURE - See Also:
- Constant Field Values
 
 - 
TRANSACTION_STORE_READ_FAILUREpublic static final int TRANSACTION_STORE_READ_FAILURE - See Also:
- Constant Field Values
 
 - 
INTERNAL_ERRORpublic static final int INTERNAL_ERROR - See Also:
- Constant Field Values
 
 - 
REALM_NOT_FOUNDpublic static final int REALM_NOT_FOUND - See Also:
- Constant Field Values
 
 - 
UNABLE_TO_READ_REALM_ATTRIBUTESpublic static final int UNABLE_TO_READ_REALM_ATTRIBUTES - See Also:
- Constant Field Values
 
 - 
POLICY_RESOURCE_TYPE_NOT_DEFINEDpublic static final int POLICY_RESOURCE_TYPE_NOT_DEFINED - See Also:
- Constant Field Values
 
 
- 
 - 
Constructor Detail- 
EntitlementExceptionpublic EntitlementException(int errorCode) Creates an entitlement exception.- Parameters:
- errorCode- Error code.
 
 - 
EntitlementExceptionpublic EntitlementException(int errorCode, Object... params)Creates an entitlement exception.- Parameters:
- errorCode- Error code.
- params- Parameters for formatting the message string.
 
 - 
EntitlementExceptionpublic EntitlementException(int errorCode, Throwable cause)Creates an entitlement exception.- Parameters:
- errorCode- Error code.
- cause- Root cause.
 
 - 
EntitlementExceptionpublic EntitlementException(int errorCode, Object[] params, Throwable cause)Creates an entitlement exception.- Parameters:
- errorCode- Error code.
- params- Parameters for formatting the message string.
- cause- Root cause.
 
 
- 
 - 
Method Detail- 
getErrorCodepublic int getErrorCode() Returns error code.- Returns:
- error code.
 
 - 
getMessagepublic String getMessage() Returns exception message.- Overrides:
- getMessagein class- Throwable
- Returns:
- exception message.
 
 - 
getLocalizedMessagepublic String getLocalizedMessage() Returns localized exception message.- Overrides:
- getLocalizedMessagein class- Throwable
- Returns:
- localized exception message.
 
 
- 
 
-