Skip to content

Commit 79d818b

Browse files
authored
Entitlements: remove AccessControlException from NotEntitledException (#144519) (#145378)
NotEntitledException no longer extends AccessControlException (a deprecated security manager API) and instead extends RuntimeException directly.
1 parent 916efb6 commit 79d818b

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

libs/entitlement/bridge/src/main/java/org/elasticsearch/entitlement/bridge/NotEntitledException.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@
99

1010
package org.elasticsearch.entitlement.bridge;
1111

12-
import java.security.AccessControlException;
13-
14-
public class NotEntitledException extends AccessControlException {
12+
public class NotEntitledException extends RuntimeException {
1513
public NotEntitledException(String message) {
1614
super(message);
1715
}

0 commit comments

Comments
 (0)