Skip navigation links
oracle.iam.certification.exception
Class CertificationServiceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
oracle.iam.exception.OIMServiceException
oracle.iam.certification.exception.CertificationServiceException
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- AlreadyExistsException, InvalidPasswordException, NotYetCompletedException, PrimaryReviewerDelegationException, SelfCertificationException
-
public abstract class CertificationServiceException
- extends OIMServiceException
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
Subclasses of this class provide an end-user with sufficient information to correct an invalid request so it can be resubmitted. Errors that the end-user cannot correct should be reported using a 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:
- Serialized Form
Constructor Summary |
CertificationServiceException(java.lang.String errorCode, java.io.Serializable[] errorData)
Instantiate this class with a localized message |
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 |
fillInStackTrace, getCause, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CertificationServiceException
public CertificationServiceException(java.lang.String errorCode,
java.io.Serializable[] errorData)
- Instantiate this class with a localized message
- Parameters:
errorCode
- A Logging.properties key
errorData
- Arguments to the substitution parameters in the error message, if any, or null
, otherwise
Skip navigation links
Copyright © 2014, Oracle and/or its affiliates. All rights reserved.