public abstract class SelfServiceException extends oracle.iam.platform.utils.SuperException implements OIMGenericExceptionIntf
Constructor and Description |
---|
SelfServiceException()
Constructs a
SelfServiceException with null as its
detail message. |
SelfServiceException(java.lang.String message)
Constructs a
SelfServiceException with the specified
detail message. |
SelfServiceException(java.lang.String message,
java.lang.String errorCode)
Constructs a
SelfServiceException with the specified
detail message and errorCode. |
SelfServiceException(java.lang.String message,
java.lang.String errorCode,
java.lang.Throwable cause)
Constructs a
SelfServiceException with the specified
detail message, errorCode and cause. |
SelfServiceException(java.lang.String message,
java.lang.Throwable cause)
Constructs a
SelfServiceException with the specified
detail message and cause. |
SelfServiceException(java.lang.Throwable cause)
Constructs a
SelfServiceException 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 SelfServiceException()
SelfServiceException
with null as its
detail message.public SelfServiceException(java.lang.String message)
SelfServiceException
with the specified
detail message.message
- the detail messagepublic SelfServiceException(java.lang.String message, java.lang.Throwable cause)
SelfServiceException
with the specified
detail message and cause.message
- the detail messagecause
- the causepublic SelfServiceException(java.lang.String message, java.lang.String errorCode)
SelfServiceException
with the specified
detail message and errorCode.message
- the detail messageerrorCode
- the error codepublic SelfServiceException(java.lang.String message, java.lang.String errorCode, java.lang.Throwable cause)
SelfServiceException
with the specified
detail message, errorCode and cause.message
- the detail messageerrorCode
- the error codecause
- the causepublic SelfServiceException(java.lang.Throwable cause)
SelfServiceException
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