com.sas.hls.security.privilege.exception
Class PrivilegeNotFoundException

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.privilege.exception.PrivilegeException
                  extended by com.sas.hls.security.privilege.exception.PrivilegeNotFoundException
All Implemented Interfaces:
Serializable

public class PrivilegeNotFoundException
extends PrivilegeException

Thrown when a privilege specified is not found on the server.

See Also:
Serialized Form

Constructor Summary
PrivilegeNotFoundException(String message)
          Constructor with detailed message.
PrivilegeNotFoundException(String message, Set<Privilege> notFoundPrivileges)
          Constructor with detailed message and set of privileges which were not found on the server.
 
Method Summary
 Set<Privilege> getNotFoundPrivileges()
          Get the set of privileges which were not found.
 
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

PrivilegeNotFoundException

public PrivilegeNotFoundException(String message)
Constructor with detailed message.

Parameters:
message - The detailed message about the exception.

PrivilegeNotFoundException

public PrivilegeNotFoundException(String message,
                                  Set<Privilege> notFoundPrivileges)
Constructor with detailed message and set of privileges which were not found on the server.

Parameters:
message - the detailed message about the exception
notFoundPrivileges - the set of privileges which were not found.
Method Detail

getNotFoundPrivileges

public Set<Privilege> getNotFoundPrivileges()
Get the set of privileges which were not found.

Returns:
the privileges which were not defined.


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