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.18 $ $Date: 2008/07/04 10:22:51 $
Author:
Ernst de Haan
See Also:
Serialized Form

Method Summary
 String getConventionName()
          Gets the name of the calling convention which does not grant the access.
 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.

getConventionName

public String getConventionName()
Gets the name of the calling convention which does not grant the access.

Returns:
the name of the calling convention, or null if no calling convention name was provided.
Since:
XINS 2.1


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