com.sas.hls.security.group.exception
Class InvalidGroupMemberException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.sas.hls.common.exception.AbstractCheckedException
              extended by com.sas.hls.security.group.exception.GroupException
                  extended by com.sas.hls.security.group.exception.InvalidGroupMemberException
All Implemented Interfaces:
Serializable

public class InvalidGroupMemberException
extends GroupException

Thrown when a group is updated with new members that violate any membership contracts.

The typical case for this is if a member being added to the group is NOT a member of the context.

See Also:
Serialized Form

Constructor Summary
InvalidGroupMemberException(Set<Principal> invalidMembers, String message)
          Constructor for GroupIdentifierNotFoundException.
 
Method Summary
 Set<Principal> getInvalidMembers()
          Returns the set of members which are invalid additions to the group.
 
Methods inherited from class com.sas.hls.common.exception.AbstractCheckedException
contains, getLocalizedMessage, getMessage, getMostSpecificCause, getRootCause, setLocalizedMessage
 
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
 

Constructor Detail

InvalidGroupMemberException

public InvalidGroupMemberException(Set<Principal> invalidMembers,
                                   String message)
Constructor for GroupIdentifierNotFoundException.

Parameters:
invalidMembers - the set of members which are invalid additions to the group
message - the detail message
Method Detail

getInvalidMembers

public Set<Principal> getInvalidMembers()
Returns the set of members which are invalid additions to the group.

Returns:
the set of members which are invalid additions to the group


Copyright (c) 2013, SAS Institute Inc., Cary, NC, USA