Skip navigation links


oracle.iam.certification.exception
Class AccessDeniedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by oracle.iam.platform.utils.SuperRuntimeException
                  extended by oracle.iam.certification.exception.AccessDeniedException

All Implemented Interfaces:
java.io.Serializable, oracle.iam.platform.utils.io.XmlPrintable

public class AccessDeniedException
extends SuperRuntimeException
implements java.io.Serializable

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:
Serialized Form

Constructor Summary
AccessDeniedException(java.lang.String subject, PolicyConstants.Actions action, PolicyConstants.Resources targetType)
           
AccessDeniedException(java.lang.String subject, PolicyConstants.Actions action, PolicyConstants.Resources targetType, java.lang.String targetId)
           
AccessDeniedException(java.lang.String subject, PolicyConstants.Actions action, java.lang.String targetName, java.lang.String assigneeName)
           

 

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
fillInStackTrace, getCause, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Constructor Detail

AccessDeniedException

public AccessDeniedException(java.lang.String subject,
                             PolicyConstants.Actions action,
                             PolicyConstants.Resources targetType)

AccessDeniedException

public AccessDeniedException(java.lang.String subject,
                             PolicyConstants.Actions action,
                             PolicyConstants.Resources targetType,
                             java.lang.String targetId)

AccessDeniedException

public AccessDeniedException(java.lang.String subject,
                             PolicyConstants.Actions action,
                             java.lang.String targetName,
                             java.lang.String assigneeName)

Skip navigation links


Copyright © 2015, Oracle and/or its affiliates. All rights reserved.