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 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.SuperRuntimeException
addError, convertErrorData, copyErrorInfo, getErrorData, getErrors, getLocalizedMessage, getLocalizedMessages, getMessages, hasMultipleErrors, setErrorData, setErrors, toString, xprint, xprintMethods 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: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 classSuperRuntimeException- Parameters:
errorCode- error code of the exception
-
getErrorCode
Description copied from class:SuperRuntimeExceptionGet error code associated with the exception.- Specified by:
getErrorCodein interfaceOIMGenericExceptionIntf- Overrides:
getErrorCodein classSuperRuntimeException- Returns:
- error code associated with the exception.
-