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, toString
public InsufficientPrivilegeException(String username)
username
- the user who does not have enough privilegespublic String getMessage()
getMessage
in class Throwable
Copyright © 2003–2016 Atlassian. All rights reserved.