public class InsufficientPrivilegeException extends RuntimeException
PermissionManager.hasPermission(com.atlassian.user.User, com.atlassian.confluence.security.Permission, Object)
or PermissionManager.hasCreatePermission(com.atlassian.user.User, Object, Class).| Constructor and Description |
|---|
InsufficientPrivilegeException(String username) |
InsufficientPrivilegeException(String username,
String message) |
| Modifier and Type | Method and Description |
|---|---|
String |
getMessage() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic InsufficientPrivilegeException(String username)
username - the user who does not have enough privilegespublic String getMessage()
getMessage in class ThrowableCopyright © 2003–2019 Atlassian. All rights reserved.