1 package com.atlassian.sal.api.permission;
2
3 /**
4 * Exception that is thrown by one of the enforce methods in {@link PermissionEnforcer} when the current user does not
5 * have the required level of access.
6 *
7 * @since 3.2
8 */
9 public class AuthorisationException extends RuntimeException {
10
11 public AuthorisationException() {
12 super();
13 }
14
15 public AuthorisationException(String message) {
16 super(message);
17 }
18
19 public AuthorisationException(String message, Throwable cause) {
20 super(message, cause);
21 }
22
23 public AuthorisationException(Throwable cause) {
24 super(cause);
25 }
26 }