uk.org.ogsadai.service.authorization
Class ActivityAccessAuthorizationException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--uk.org.ogsadai.exception.DAIException
                    |
                    +--uk.org.ogsadai.exception.DAIAuthorizationException
                          |
                          +--uk.org.ogsadai.service.authorization.ActivityAccessAuthorizationException
All Implemented Interfaces:
DAIExceptionInformation, java.io.Serializable

public class ActivityAccessAuthorizationException
extends DAIAuthorizationException

Thrown when a user is not authorized to access an activity on a resource.

Author:
The OGSA-DAI Team.
See Also:
Serialized Form

Field Summary
private static java.lang.String COPYRIGHT_NOTICE
          Copyright statement
 
Fields inherited from class uk.org.ogsadai.exception.DAIException
 
Fields inherited from class java.lang.Exception
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
ActivityAccessAuthorizationException(java.lang.String activityName, java.lang.String resourceID, java.lang.String userDN)
          Constructs a new exception from the given activity name, user name and resource ID.
 
Methods inherited from class uk.org.ogsadai.exception.DAIException
getErrorID, getExceptionID, getLocalizedMessage, getMessage, getParameters, hasChild, setErrorID, setParameters
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, 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

COPYRIGHT_NOTICE

private static final java.lang.String COPYRIGHT_NOTICE
Copyright statement

See Also:
Constant Field Values
Constructor Detail

ActivityAccessAuthorizationException

public ActivityAccessAuthorizationException(java.lang.String activityName,
                                            java.lang.String resourceID,
                                            java.lang.String userDN)
Constructs a new exception from the given activity name, user name and resource ID.

Parameters:
activityName - name of the activity
resourceID - resource identifier
userDN - distinguished name of the user who tried to access the resource