Skip navigation links


oracle.iam.platform.authopss.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.platform.authopss.exception.AccessDeniedException

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

public class AccessDeniedException
extends SuperRuntimeException

An exception to signal the error condition that the user is not authorized to perform an operation. Clients should do proactive authorization checks by calls to AuthorizationService and avoid getting this exception.

See Also:
Serialized Form

Constructor Summary
AccessDeniedException()
          Constructs a new super exception with null as its detail message.
AccessDeniedException(java.lang.String message)
          Constructs a new super exception with the specified detail message.
AccessDeniedException(java.lang.String errorCode, java.lang.String errorMessage, java.io.Serializable[] errorData, java.lang.Throwable e)
          Constructs a new super exception with the specified detail message.
AccessDeniedException(java.lang.String message, java.lang.Throwable cause)
          Constructs a new super exception with the specified detail message and cause.
AccessDeniedException(java.lang.Throwable cause)
          Constructs a new super exception with the specified cause.

 

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()
Constructs a new super exception with null as its detail message.

AccessDeniedException

public AccessDeniedException(java.lang.String message)
Constructs a new super exception with the specified detail message.
Parameters:
message - the detail message

AccessDeniedException

public AccessDeniedException(java.lang.String message,
                             java.lang.Throwable cause)
Constructs a new super exception with the specified detail message and cause.
Parameters:
message - the detail message
cause - the cause

AccessDeniedException

public AccessDeniedException(java.lang.String errorCode,
                             java.lang.String errorMessage,
                             java.io.Serializable[] errorData,
                             java.lang.Throwable e)
Constructs a new super exception with the specified detail message.
Parameters:
errorCode -
errorMessage -
errorData -
e -

AccessDeniedException

public AccessDeniedException(java.lang.Throwable cause)
Constructs a new super exception with the specified cause.
Parameters:
cause - the cause

Skip navigation links


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