Skip navigation links
oracle.iam.platform.authz.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
- All Implemented Interfaces:
- java.io.Serializable, oracle.iam.platform.utils.io.XmlPrintable
- Direct Known Subclasses:
- AccessDeniedException
-
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 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. |
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 |
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 © 2014, Oracle and/or its affiliates. All rights reserved.