com.arsdigita.dispatcher
Class AccessDeniedException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended bycom.arsdigita.dispatcher.AccessDeniedException
All Implemented Interfaces:
Serializable

public class AccessDeniedException
extends RuntimeException

AccessDeniedException is the runtime exception that is thrown whenever the current user does not have access to the requested resources.

Version:
$Revision: #8 $ $DateTime: 2004/04/07 16:07:11 $
Author:
Michael Pih
See Also:
Serialized Form

Field Summary
static String ACCESS_DENIED
           
static String versionId
           
 
Constructor Summary
AccessDeniedException()
          Constructs an AccessDeniedException with the default detail message.
AccessDeniedException(String msg)
          Constructs an AccessDeniedException with the specified detail message.
 
Method Summary
 String getOriginalURL()
          Fetches the URL where the AccessDeniedException originated.
 
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
 

Field Detail

versionId

public static final String versionId
See Also:
Constant Field Values

ACCESS_DENIED

public static final String ACCESS_DENIED
See Also:
Constant Field Values
Constructor Detail

AccessDeniedException

public AccessDeniedException()
Constructs an AccessDeniedException with the default detail message.


AccessDeniedException

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

Parameters:
msg - The error detail message
Method Detail

getOriginalURL

public String getOriginalURL()
Fetches the URL where the AccessDeniedException originated.

Returns:
The original URL


Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 20 2004:2337 UTC