public class PrincipalNotFoundException extends AbstractRuntimeException
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
Set<Principal> |
getNotFound()
Get the set of principals which could not be found.
|
getLocalizedMessage, getMessage, getRootCause, setLocalizedMessage
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public PrincipalNotFoundException(String message)
message
- User message explaining the failure.public PrincipalNotFoundException(String message, Set<Principal> notFound)
message
- User message explaining the failure.notFound
- The set of principals which could not be found in the system.Copyright (c) 2017, SAS Institute Inc., Cary, NC, USA