Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.acegisecurity
Class AccessDeniedException  view AccessDeniedException download AccessDeniedException.java

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byorg.springframework.core.NestedRuntimeException
                  extended byorg.acegisecurity.AcegiSecurityException
                      extended byorg.acegisecurity.AccessDeniedException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
AuthorizationServiceException

public class AccessDeniedException
extends AcegiSecurityException

Thrown if an Authentication object does not hold a required authority.

Version:
$Id: AccessDeniedException.java,v 1.3 2005/11/17 00:55:49 benalex Exp $

Nested Class Summary
 
Nested classes inherited from class java.lang.Throwable
 
Field Summary
 
Fields inherited from class org.springframework.core.NestedRuntimeException
 
Fields inherited from class java.lang.RuntimeException
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
AccessDeniedException(java.lang.String msg)
          Constructs an AccessDeniedException with the specified message.
AccessDeniedException(java.lang.String msg, java.lang.Throwable t)
          Constructs an AccessDeniedException with the specified message and root cause.
 
Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getCause, getMessage, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, 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(java.lang.String msg)
Constructs an AccessDeniedException with the specified message.


AccessDeniedException

public AccessDeniedException(java.lang.String msg,
                             java.lang.Throwable t)
Constructs an AccessDeniedException with the specified message and root cause.