com.sas.hls.security.principal.exception
Class PrincipalNotFoundException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.sas.hls.common.exception.AbstractRuntimeException
                  extended by com.sas.hls.security.principal.exception.PrincipalNotFoundException
All Implemented Interfaces:
Serializable

public class PrincipalNotFoundException
extends AbstractRuntimeException

Thrown when the specified principal can not be found in the system.

See Also:
Serialized Form

Constructor Summary
PrincipalNotFoundException(String message)
          Construct a PrincipalNotFoundException with specified message.
PrincipalNotFoundException(String message, Set<Principal> notFound)
          Construct a PrincipalNotFoundException with the specified message and list of principals which could not be found in the system.
 
Method Summary
 Set<Principal> getNotFound()
          Get the set of principals which could not be found.
 
Methods inherited from class com.sas.hls.common.exception.AbstractRuntimeException
getLocalizedMessage, getMessage, 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

PrincipalNotFoundException

public PrincipalNotFoundException(String message)
Construct a PrincipalNotFoundException with specified message.

Parameters:
message - User message explaining the failure.

PrincipalNotFoundException

public PrincipalNotFoundException(String message,
                                  Set<Principal> notFound)
Construct a PrincipalNotFoundException with the specified message and list of principals which could not be found in the system.

Parameters:
message - User message explaining the failure.
notFound - The set of principals which could not be found in the system.
Method Detail

getNotFound

public Set<Principal> getNotFound()
Get the set of principals which could not be found.

Returns:
the notFound


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