Package oracle.iam.identity.exception
Class AccessDeniedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
oracle.iam.platform.utils.SuperRuntimeException
oracle.iam.platform.authz.exception.AccessDeniedException
oracle.iam.identity.exception.AccessDeniedException
- All Implemented Interfaces:
Serializable
,oracle.iam.platform.utils.io.XmlPrintable
,OIMGenericExceptionIntf
An exception to signal the error condition that the user is not authorized to perform an operation.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new super exception with null as its detail message.AccessDeniedException
(String message) Constructs a new super exception with the specified detail message.AccessDeniedException
(String message, Throwable cause) Constructs a new super exception with the specified detail message and cause.AccessDeniedException
(Throwable cause) Constructs a new super exception with the specified cause. -
Method Summary
Modifier and TypeMethodDescriptionGet error code associated with the exception.Gets the parameter mapString[]
Gets the parametersvoid
setErrorCode
(String errorCode) Sets the error codevoid
setParameterMap
(Map<String, String> paramMap) Sets the parameter mapvoid
setParameters
(String[] params) Sets the parametersMethods inherited from class oracle.iam.platform.utils.SuperRuntimeException
addError, convertErrorData, copyErrorInfo, getErrorData, getErrors, getLocalizedMessage, getLocalizedMessages, getMessages, hasMultipleErrors, 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
-
AccessDeniedException
public AccessDeniedException()Constructs a new super exception with null as its detail message. -
AccessDeniedException
Constructs a new super exception with the specified detail message.- Parameters:
message
- the detail message
-
AccessDeniedException
Constructs a new super exception with the specified detail message and cause.- Parameters:
message
- the detail messagecause
- the cause
-
AccessDeniedException
Constructs a new super exception with the specified cause.- Parameters:
cause
- the cause
-
-
Method Details
-
setParameterMap
Description copied from interface:OIMGenericExceptionIntf
Sets the parameter map- Specified by:
setParameterMap
in interfaceOIMGenericExceptionIntf
- Parameters:
paramMap
- parameter map for the exception
-
getParameterMap
Description copied from interface:OIMGenericExceptionIntf
Gets the parameter map- Specified by:
getParameterMap
in interfaceOIMGenericExceptionIntf
- Returns:
- parameter map for the exception
-
setParameters
Description copied from interface:OIMGenericExceptionIntf
Sets the parameters- Specified by:
setParameters
in interfaceOIMGenericExceptionIntf
- Parameters:
params
- parameters for the exception
-
getParameters
Description copied from interface:OIMGenericExceptionIntf
Gets the parameters- Specified by:
getParameters
in interfaceOIMGenericExceptionIntf
- Returns:
- parameters for the exception
-
setErrorCode
Description copied from interface:OIMGenericExceptionIntf
Sets the error code- Specified by:
setErrorCode
in interfaceOIMGenericExceptionIntf
- Overrides:
setErrorCode
in classSuperRuntimeException
- Parameters:
errorCode
- error code of the exception
-
getErrorCode
Description copied from class:SuperRuntimeException
Get error code associated with the exception.- Specified by:
getErrorCode
in interfaceOIMGenericExceptionIntf
- Overrides:
getErrorCode
in classSuperRuntimeException
- Returns:
- error code associated with the exception.
-