Class CertificationServiceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
oracle.iam.exception.OIMServiceException
oracle.iam.certification.exception.CertificationServiceException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AlreadyExistsException
,InvalidPasswordException
,NotYetCompletedException
,PrimaryReviewerDelegationException
,SelfCertificationException
Base class for all checked exceptions produced in the Certification services:
- Encourage use of error codes, and hence localized messages
- Instantiate error message in server locale here, instead of in every subclass
CertificationRuntimeException
subclass
Client locale must be set in the Context at instantiation of this class for a localized message to be produced (authentication processing typically sets Context locale from HTTP request locale)
Future: This base class will be made package private, so do not reference it anywhere except subclasses
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCertificationServiceException
(String errorCode, Serializable[] errorData) Instantiate this class with a localized message -
Method Summary
Methods inherited from class oracle.iam.exception.OIMServiceException
addError, copyErrorInfo, getErrorCode, getErrorData, getErrorMessage, getErrors, getLocalizedMessage, hasMultipleErrors, setErrorCode, setErrorData, setErrorMessage, setErrors, toString
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
CertificationServiceException
Instantiate this class with a localized message- Parameters:
errorCode
- A Logging.properties keyerrorData
- Arguments to the substitution parameters in the error message, if any, ornull
, otherwise
-