com.sas.hls.security.privilege.exception
Class InvalidPrivilegeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.sas.hls.common.exception.AbstractCheckedException
com.sas.hls.security.privilege.exception.PrivilegeException
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
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 messageinvalidPrivileges
- the set of privileges which are invalid
getInvalidPrivileges
public Set<Privilege> getInvalidPrivileges()
- Get the set of privileges which were found to be invalid.
- Returns:
- the invalidPrivileges
Copyright (c) 2013, SAS Institute Inc., Cary, NC, USA