public class IdentityException extends oracle.iam.platform.utils.SuperException implements OIMGenericExceptionIntf
IdentityException
and its subclasses indicate exceptions
while performing operations on Identities.Constructor and Description |
---|
IdentityException()
Constructs a
IdentityException with null as its detail message. |
IdentityException(java.lang.String message)
Constructs a
IdentityException with the specified detail message. |
IdentityException(java.lang.String message,
java.lang.Throwable cause)
Constructs a
IdentityException with the specified detail message and cause. |
IdentityException(java.lang.Throwable cause)
Constructs a
IdentityException with the specified cause. |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getErrorCode()
Get error code associated with the exception.
|
java.util.Map |
getParameterMap()
Gets the parameter map
|
java.lang.String[] |
getParameters()
Gets the parameters
|
void |
setErrorCode(java.lang.String errorCode)
Sets the error code
|
void |
setParameterMap(java.util.Map paramMap)
Sets the parameter map
|
void |
setParameters(java.lang.String[] params)
Sets the parameters
|
getLocalizedMessages, getMessages, xprint, xprint
addError, copyErrorInfo, getErrorData, getErrorMessage, getErrors, getLocalizedMessage, hasMultipleErrors, setErrorData, setErrorMessage, setErrors, toString
public IdentityException()
IdentityException
with null as its detail message.public IdentityException(java.lang.String message)
IdentityException
with the specified detail message.message
- the detail messagepublic IdentityException(java.lang.String message, java.lang.Throwable cause)
IdentityException
with the specified detail message and cause.message
- the detail messagecause
- the causepublic IdentityException(java.lang.Throwable cause)
IdentityException
with the specified cause.cause
- the causepublic void setParameterMap(java.util.Map paramMap)
OIMGenericExceptionIntf
setParameterMap
in interface OIMGenericExceptionIntf
paramMap
- parameter map for the exceptionpublic java.util.Map getParameterMap()
OIMGenericExceptionIntf
getParameterMap
in interface OIMGenericExceptionIntf
public void setParameters(java.lang.String[] params)
OIMGenericExceptionIntf
setParameters
in interface OIMGenericExceptionIntf
params
- parameters for the exceptionpublic java.lang.String[] getParameters()
OIMGenericExceptionIntf
getParameters
in interface OIMGenericExceptionIntf
public void setErrorCode(java.lang.String errorCode)
OIMGenericExceptionIntf
setErrorCode
in interface OIMGenericExceptionIntf
setErrorCode
in class OIMServiceException
errorCode
- error code of the exceptionpublic java.lang.String getErrorCode()
OIMServiceException
getErrorCode
in interface OIMGenericExceptionIntf
getErrorCode
in class OIMServiceException