Skip navigation links


oracle.iam.platform.authz.exception
Class AccessDeniedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by oracle.iam.platform.authz.exception.AccessDeniedException

All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
AccessDeniedException

public class AccessDeniedException
extends java.lang.Exception

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 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 java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString

 

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.Throwable cause)
Constructs a new super exception with the specified cause.
Parameters:
cause - the cause

Skip navigation links


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