org.xins.server
Class AccessDeniedException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.xins.server.AccessDeniedException
All Implemented Interfaces:
Serializable

public final class AccessDeniedException
extends Exception

Exception that indicates that there is no function matching the request.

Since:
XINS 1.0.0
Version:
$Revision: 1.10 $ $Date: 2006/08/28 09:12:32 $
Author:
Ernst de Haan
See Also:
Serialized Form

Method Summary
 String getFunctionName()
          Gets the name of the function which does not grant the access.
 String getIP()
          Gets the IP address which is denied for the given function.
 
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
 

Method Detail

getIP

public String getIP()
Gets the IP address which is denied for the given function.

Returns:
the IP address, or null if no IP address was provided.

getFunctionName

public String getFunctionName()
Gets the name of the function which does not grant the access.

Returns:
the name of the function, or null if no function name was provided.


See http://www.xins.org/.