com.softwareag.centrasite.appl.framework.validation.acl
Class CSAppAuthenticationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.softwareag.centrasite.appl.framework.CSAppFrameworkException
              extended by com.softwareag.centrasite.appl.framework.validation.acl.CSAppAuthenticationException
All Implemented Interfaces:
java.io.Serializable

public class CSAppAuthenticationException
extends com.softwareag.centrasite.appl.framework.CSAppFrameworkException

This exception is thrown, if unauthorized access to an object occurs.

See Also:
Serialized Form

Constructor Summary
CSAppAuthenticationException(AclContext pContext, java.lang.String pId, java.lang.String pMessage)
          Creates a new instance with the given detail message and no cause.
CSAppAuthenticationException(AclContext pContext, java.lang.String pId, java.lang.String pMessage, java.lang.Throwable pCause)
          Creates a new instance with the given detail message and cause.
CSAppAuthenticationException(AclContext pContext, java.lang.String pId, java.lang.Throwable pCause)
          Creates a new instance with the given cause.
 
Method Summary
 AclContext getAclContext()
          Returns the context, which specifies the access requester.
 java.lang.String getId()
          Returns the id of the object, to which access was requested.
 
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

CSAppAuthenticationException

public CSAppAuthenticationException(AclContext pContext,
                                    java.lang.String pId,
                                    java.lang.String pMessage,
                                    java.lang.Throwable pCause)
Creates a new instance with the given detail message and cause.

Parameters:
pMessage - The detail message.
pCause - The exceptions cause.

CSAppAuthenticationException

public CSAppAuthenticationException(AclContext pContext,
                                    java.lang.String pId,
                                    java.lang.String pMessage)
Creates a new instance with the given detail message and no cause.

Parameters:
pMessage - The detail message.

CSAppAuthenticationException

public CSAppAuthenticationException(AclContext pContext,
                                    java.lang.String pId,
                                    java.lang.Throwable pCause)
Creates a new instance with the given cause. The detail message is obtained by invoking Throwable.getMessage() on the cause.

Method Detail

getId

public java.lang.String getId()
Returns the id of the object, to which access was requested.


getAclContext

public AclContext getAclContext()
Returns the context, which specifies the access requester.