Class AccessDeniedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
oracle.iam.platform.utils.SuperRuntimeException
oracle.iam.certification.exception.AccessDeniedException
- All Implemented Interfaces:
Serializable
,oracle.iam.platform.utils.io.XmlPrintable
This exception is thrown by the Authorization layer to indicate that a requested access
(to a certification resource) is denied. Exception message would have information on principal and resource.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAccessDeniedException
(String subject, PolicyConstants.Actions action, String targetName, String assigneeName) AccessDeniedException
(String subject, PolicyConstants.Actions action, PolicyConstants.Resources targetType) AccessDeniedException
(String subject, PolicyConstants.Actions action, PolicyConstants.Resources targetType, String targetId) -
Method Summary
Methods inherited from class oracle.iam.platform.utils.SuperRuntimeException
addError, convertErrorData, copyErrorInfo, getErrorCode, getErrorData, getErrors, getLocalizedMessage, getLocalizedMessages, getMessages, hasMultipleErrors, setErrorCode, 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(String subject, PolicyConstants.Actions action, PolicyConstants.Resources targetType) -
AccessDeniedException
public AccessDeniedException(String subject, PolicyConstants.Actions action, PolicyConstants.Resources targetType, String targetId) -
AccessDeniedException
public AccessDeniedException(String subject, PolicyConstants.Actions action, String targetName, String assigneeName)
-