Package oracle.iam.selfservice.exception
Class SelfServiceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
oracle.iam.exception.OIMServiceException
oracle.iam.platform.utils.SuperException
oracle.iam.selfservice.exception.SelfServiceException
- All Implemented Interfaces:
Serializable,oracle.iam.platform.utils.io.XmlPrintable,OIMGenericExceptionIntf
- Direct Known Subclasses:
UnauthenticatedSelfServiceException
public abstract class SelfServiceException
extends oracle.iam.platform.utils.SuperException
implements OIMGenericExceptionIntf
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs aSelfServiceExceptionwith null as its detail message.SelfServiceException(String message) Constructs aSelfServiceExceptionwith the specified detail message.SelfServiceException(String message, String errorCode) Constructs aSelfServiceExceptionwith the specified detail message and errorCode.SelfServiceException(String message, String errorCode, Throwable cause) Constructs aSelfServiceExceptionwith the specified detail message, errorCode and cause.SelfServiceException(String message, Throwable cause) Constructs aSelfServiceExceptionwith the specified detail message and cause.SelfServiceException(Throwable cause) Constructs aSelfServiceExceptionwith the specified cause. -
Method Summary
Modifier and TypeMethodDescriptionGet error code associated with the exception.Gets the parameter mapString[]Gets the parametersvoidsetErrorCode(String errorCode) Sets the error codevoidsetParameterMap(Map<String, String> paramMap) Sets the parameter mapvoidsetParameters(String[] params) Sets the parametersMethods inherited from class oracle.iam.platform.utils.SuperException
getLocalizedMessages, getMessages, xprint, xprintMethods inherited from class oracle.iam.exception.OIMServiceException
addError, copyErrorInfo, getErrorData, getErrorMessage, getErrors, getLocalizedMessage, hasMultipleErrors, setErrorData, setErrorMessage, setErrors, toStringMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
SelfServiceException
public SelfServiceException()Constructs aSelfServiceExceptionwith null as its detail message. -
SelfServiceException
Constructs aSelfServiceExceptionwith the specified detail message.- Parameters:
message- the detail message
-
SelfServiceException
Constructs aSelfServiceExceptionwith the specified detail message and cause.- Parameters:
message- the detail messagecause- the cause
-
SelfServiceException
Constructs aSelfServiceExceptionwith the specified detail message and errorCode.- Parameters:
message- the detail messageerrorCode- the error code
-
SelfServiceException
Constructs aSelfServiceExceptionwith the specified detail message, errorCode and cause.- Parameters:
message- the detail messageerrorCode- the error codecause- the cause
-
SelfServiceException
Constructs aSelfServiceExceptionwith the specified cause.- Parameters:
cause- the cause
-
-
Method Details
-
setParameterMap
Description copied from interface:OIMGenericExceptionIntfSets the parameter map- Specified by:
setParameterMapin interfaceOIMGenericExceptionIntf- Parameters:
paramMap- parameter map for the exception
-
getParameterMap
Description copied from interface:OIMGenericExceptionIntfGets the parameter map- Specified by:
getParameterMapin interfaceOIMGenericExceptionIntf- Returns:
- parameter map for the exception
-
setParameters
Description copied from interface:OIMGenericExceptionIntfSets the parameters- Specified by:
setParametersin interfaceOIMGenericExceptionIntf- Parameters:
params- parameters for the exception
-
getParameters
Description copied from interface:OIMGenericExceptionIntfGets the parameters- Specified by:
getParametersin interfaceOIMGenericExceptionIntf- Returns:
- parameters for the exception
-
setErrorCode
Description copied from interface:OIMGenericExceptionIntfSets the error code- Specified by:
setErrorCodein interfaceOIMGenericExceptionIntf- Overrides:
setErrorCodein classOIMServiceException- Parameters:
errorCode- error code of the exception
-
getErrorCode
Description copied from class:OIMServiceExceptionGet error code associated with the exception.- Specified by:
getErrorCodein interfaceOIMGenericExceptionIntf- Overrides:
getErrorCodein classOIMServiceException- Returns:
- error code associated with the exception.
-