GigaSpaces XAP 9.1 API

com.gigaspaces.security
Class AccessDeniedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by java.lang.SecurityException
                  extended by com.gigaspaces.security.SecurityException
                      extended by com.gigaspaces.security.AccessDeniedException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
DirectoryAccessDeniedException

public class AccessDeniedException
extends SecurityException

Thrown if an operation is performed without a required authority.

Since:
7.0.1
Author:
Moran Avigdor
See Also:
Serialized Form

Constructor Summary
AccessDeniedException(String message)
          Constructs a AccessDeniedException with the specified detail message.
AccessDeniedException(String message, Throwable cause)
          Creates a AccessDeniedException with the specified detail message and 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AccessDeniedException

public AccessDeniedException(String message)
Constructs a AccessDeniedException with the specified detail message.

Parameters:
message - the detail message.

AccessDeniedException

public AccessDeniedException(String message,
                             Throwable cause)
Creates a AccessDeniedException with the specified detail message and cause.

Parameters:
message - the detail message (which is saved for later retrieval by the Throwable.getMessage() method).
cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)

GigaSpaces XAP 9.1 API

Copyright © GigaSpaces.