com.sas.hls.security.membership.exception
Class InvalidMemberException

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.membership.exception.MembershipException
                  extended by com.sas.hls.security.membership.exception.InvalidMemberException
All Implemented Interfaces:
Serializable

public class InvalidMemberException
extends MembershipException

Thrown when an attempt is made to add Principals into a membership where they are not potential members of that membership.

See Also:
Serialized Form

Constructor Summary
InvalidMemberException(Set<Principal> invalidMembers, String message)
          Constructor taking the set of invalid principals and a detailed message about the exception.
 
Method Summary
 Set<Principal> getInvalidMembers()
          Get the set of invalid principals referenced by this exception.
 
Methods inherited from class com.sas.hls.common.exception.AbstractCheckedException
getLocalizedMessage, getMessage, getRootCause
 
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

InvalidMemberException

public InvalidMemberException(Set<Principal> invalidMembers,
                              String message)
Constructor taking the set of invalid principals and a detailed message about the exception.

Parameters:
invalidMembers - the set of invalid principals.
message - A detailed message about this exception.
Method Detail

getInvalidMembers

public Set<Principal> getInvalidMembers()
Get the set of invalid principals referenced by this exception.

Returns:
the set of invalid principals referenced by this exception


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