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.DirectoryPermissionException
All Implemented Interfaces:
Serializable

public class DirectoryPermissionException
extends Exception

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
See Also:
Serialized Form

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 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 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.