com.atlassian.crowd.integration.exception
Class DirectoryPermissionException

java.lang.Object
  extended by NestableException
      extended by com.atlassian.crowd.integration.exception.CrowdNestableException
          extended by com.atlassian.crowd.integration.exception.DirectoryPermissionException

public class DirectoryPermissionException
extends CrowdNestableException

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

Version:
1.0
Author:
Justen Stepka

Field Summary
static String GROUP_ADD
          Exception message when adding a group is not allowed.
static String GROUP_MODIFY
          Exception message when modifying a group is not allowed.
static String GROUP_REMOVE
          Exception message when removing a group is not allowed.
static String PRINCIPAL_ADD
          Exception message when adding a principal is not allowed.
static String PRINCIPAL_MODIFY
          Exception message when modifying a princpial is not allowed.
static String PRINCIPAL_REMOVE
          Exception message when removing a principal is not allowed.
static String ROLE_ADD
          Exception message when adding a role is not allowed.
static String ROLE_MODIFY
          Exception message when modifying a role is not allowed.
static String ROLE_REMOVE
          Exception message when removing a role is not allowed.
 
Constructor Summary
DirectoryPermissionException()
          Default constructor.
DirectoryPermissionException(String s)
          Default constructor.
DirectoryPermissionException(String s, Throwable throwable)
          Default constructor.
DirectoryPermissionException(Throwable throwable)
          Default constructor.
 
Method Summary
 
Methods inherited from class com.atlassian.crowd.integration.exception.CrowdNestableException
getThrowableCount, getThrowables, setMessages, setThrowableCount, setThrowables
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GROUP_ADD

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

See Also:
Constant Field Values

GROUP_MODIFY

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

See Also:
Constant Field Values

GROUP_REMOVE

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

See Also:
Constant Field Values

ROLE_ADD

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

See Also:
Constant Field Values

ROLE_MODIFY

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

See Also:
Constant Field Values

ROLE_REMOVE

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

See Also:
Constant Field Values

PRINCIPAL_ADD

public static final String PRINCIPAL_ADD
Exception message when adding a principal is not allowed.

See Also:
Constant Field Values

PRINCIPAL_MODIFY

public static final String PRINCIPAL_MODIFY
Exception message when modifying a princpial is not allowed.

See Also:
Constant Field Values

PRINCIPAL_REMOVE

public static final String PRINCIPAL_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(String s)
Default constructor.

Parameters:
s - the message.

DirectoryPermissionException

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

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

DirectoryPermissionException

public DirectoryPermissionException(Throwable throwable)
Default constructor.

Parameters:
throwable - the Exception.


Copyright © 2006 Atlassian Software Systems. All Rights Reserved.