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

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

public class MemberNotFoundException
extends MembershipException

The principal specified is not a member of this membership context.

See Also:
Serialized Form

Constructor Summary
MemberNotFoundException(Set<Principal> nonMembers, String message)
          Constructs a MemberNotFoundException with the specified message and list of principals.
 
Method Summary
 Set<Principal> getNonMembers()
          Get the set of principals which are not members of this context.
 
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

MemberNotFoundException

public MemberNotFoundException(Set<Principal> nonMembers,
                               String message)
Constructs a MemberNotFoundException with the specified message and list of principals.

Parameters:
nonMembers - The set of principals which are not members of the context.
message - The detailed message for this exception.
Method Detail

getNonMembers

public Set<Principal> getNonMembers()
Get the set of principals which are not members of this context.

Returns:
the set of principals which are not members of this context


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