Skip to content

Commit 8f5de85

Browse files
authored
Make NotEntitledException inherit from SecurityException for compatibility purposes (#123984)
1 parent dfe2adb commit 8f5de85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/entitlement/src/main/java/org/elasticsearch/entitlement/runtime/api/NotEntitledException.java

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

1010
package org.elasticsearch.entitlement.runtime.api;
1111

12-
public class NotEntitledException extends RuntimeException {
12+
public class NotEntitledException extends SecurityException {
1313
public NotEntitledException(String message) {
1414
super(message);
1515
}

0 commit comments

Comments
 (0)