com.atlassian.crowd.integration.exception
Class DirectoryPermissionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.atlassian.crowd.integration.exception.PermissionException
              extended by com.atlassian.crowd.integration.exception.DirectoryPermissionException
All Implemented Interfaces:
java.io.Serializable

public class DirectoryPermissionException
extends PermissionException

Thrown when a RemoteDirectory does not have the permission set to perform an operation such as add/modify/delete verses a group/principal/role.

See Also:
Serialized Form

Field Summary
static java.lang.String GROUP_ADD
          Exception message when adding a group is not allowed.
static java.lang.String GROUP_MODIFY
          Exception message when modifying a group is not allowed.
static java.lang.String GROUP_REMOVE
          Exception message when removing a group is not allowed.
static java.lang.String ROLE_ADD
          Exception message when adding a role is not allowed.
static java.lang.String ROLE_MODIFY
          Exception message when modifying a role is not allowed.
static java.lang.String ROLE_REMOVE
          Exception message when removing a role is not allowed.
static java.lang.String USER_ADD
          Exception message when adding a principal is not allowed.
static java.lang.String USER_MODIFY
          Exception message when modifying a princpial is not allowed.
static java.lang.String USER_REMOVE
          Exception message when removing a principal is not allowed.
 
Constructor Summary
DirectoryPermissionException()
          Default constructor.
DirectoryPermissionException(java.lang.String s)
          Default constructor.
DirectoryPermissionException(java.lang.String s, java.lang.Throwable throwable)
          Default constructor.
DirectoryPermissionException(java.lang.Throwable throwable)
          Default constructor.
 
Method Summary
 
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

GROUP_ADD

public static final java.lang.String GROUP_ADD
Exception message when adding a group is not allowed.

See Also:
Constant Field Values

GROUP_MODIFY

public static final java.lang.String GROUP_MODIFY
Exception message when modifying a group is not allowed.

See Also:
Constant Field Values

GROUP_REMOVE

public static final java.lang.String GROUP_REMOVE
Exception message when removing a group is not allowed.

See Also:
Constant Field Values

ROLE_ADD

public static final java.lang.String ROLE_ADD
Exception message when adding a role is not allowed.

See Also:
Constant Field Values

ROLE_MODIFY

public static final java.lang.String ROLE_MODIFY
Exception message when modifying a role is not allowed.

See Also:
Constant Field Values

ROLE_REMOVE

public static final java.lang.String ROLE_REMOVE
Exception message when removing a role is not allowed.

See Also:
Constant Field Values

USER_ADD

public static final java.lang.String USER_ADD
Exception message when adding a principal is not allowed.

See Also:
Constant Field Values

USER_MODIFY

public static final java.lang.String USER_MODIFY
Exception message when modifying a princpial is not allowed.

See Also:
Constant Field Values

USER_REMOVE

public static final java.lang.String USER_REMOVE
Exception message when removing a principal is not allowed.

See Also:
Constant Field Values
Constructor Detail

DirectoryPermissionException

public DirectoryPermissionException()
Default constructor.


DirectoryPermissionException

public DirectoryPermissionException(java.lang.String s)
Default constructor.

Parameters:
s - the message.

DirectoryPermissionException

public DirectoryPermissionException(java.lang.String s,
                                    java.lang.Throwable throwable)
Default constructor.

Parameters:
s - the message.
throwable - the Exception.

DirectoryPermissionException

public DirectoryPermissionException(java.lang.Throwable throwable)
Default constructor.

Parameters:
throwable - the Exception.


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.