Package oracle.iam.ida.exception
Class IDARuntimeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
oracle.iam.platform.utils.SuperRuntimeException
oracle.iam.ida.exception.IDARuntimeException
- All Implemented Interfaces:
Serializable
,oracle.iam.platform.utils.io.XmlPrintable
- Direct Known Subclasses:
AccessDeniedException
,IDAEngineException
,IDAIllegalStateException
,IDAWorkflowException
,InvalidArgumentException
Base class for all runtime exceptions produced in the Identity Audit services:
- Encourage use of error codes, and hence locallized messages
- Instantiate error message in server locale here, instead of in every subclass instantiation
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)
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionIDARuntimeException
(String errorCode, Serializable[] errorData) Instantiate this class with a localized message -
Method Summary
Methods inherited from class oracle.iam.platform.utils.SuperRuntimeException
addError, convertErrorData, copyErrorInfo, getErrorCode, getErrorData, getErrors, getLocalizedMessage, getLocalizedMessages, getMessages, hasMultipleErrors, setErrorCode, setErrorData, setErrors, toString, xprint, xprint
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
IDARuntimeException
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
-