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

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

public class InvalidPrivilegeException
extends PrivilegeException

Thrown when a specified privilege is not defined.

See Also:
Serialized Form

Constructor Summary
InvalidPrivilegeException(String message)
          Constructor with detailed message
InvalidPrivilegeException(String message, Set<Privilege> invalidPrivileges)
          Constructor specifying multiple invalid privileges
 
Method Summary
 Set<Privilege> getInvalidPrivileges()
          Get the set of privileges which were found to be invalid.
 
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

InvalidPrivilegeException

public InvalidPrivilegeException(String message)
Constructor with detailed message

Parameters:
message - detailed message

InvalidPrivilegeException

public InvalidPrivilegeException(String message,
                                 Set<Privilege> invalidPrivileges)
Constructor specifying multiple invalid privileges

Parameters:
message - detailed message
invalidPrivileges - the set of privileges which are invalid
Method Detail

getInvalidPrivileges

public Set<Privilege> getInvalidPrivileges()
Get the set of privileges which were found to be invalid.

Returns:
the invalidPrivileges


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