public class InvalidPrivilegeException extends PrivilegeException
Constructor and Description |
---|
InvalidPrivilegeException(String message,
Set<Privilege> privileges)
Constructs an
InvalidPrivilegeException with the specified detail message and invalid privileges. |
Modifier and Type | Method and Description |
---|---|
Set<Privilege> |
getPrivileges()
Gets the set of invalid privileges.
|
getMessage, getRootCause
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public InvalidPrivilegeException(String message, Set<Privilege> privileges)
InvalidPrivilegeException
with the specified detail message and invalid privileges.message
- the detail message (which is saved for later retrieval by the AbstractCheckedException.getMessage()
method).privileges
- the set of privileges that are invalid.<i>Copyright (c) 2022, SAS Institute Inc., Cary, NC, USA</i>