We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
AysUserNotSuperAdminException
AysForbiddenException
AccessDeniedException
1 parent cfd61f8 commit 8f2b07eCopy full SHA for 8f2b07e
src/main/java/org/ays/auth/util/exception/AysUserNotSuperAdminException.java
@@ -1,13 +1,13 @@
1
package org.ays.auth.util.exception;
2
3
-import org.springframework.security.access.AccessDeniedException;
+import org.ays.common.util.exception.AysForbiddenException;
4
5
import java.io.Serial;
6
7
/**
8
* Exception to be thrown when a user is not a super admin but tries to perform an action that requires super admin privileges.
9
*/
10
-public final class AysUserNotSuperAdminException extends AccessDeniedException {
+public final class AysUserNotSuperAdminException extends AysForbiddenException {
11
12
13
* Unique identifier for serialization.
0 commit comments