Package dev.sympho.bot_utils.access
Class AccessException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
dev.sympho.bot_utils.access.AccessException
- All Implemented Interfaces:
Serializable
Exception that indicates that an access check failed.
Note that, to minimize the runtime overhead of using this exception (as it is functionally just a result marker used to simplify control flow), it does not record the stack trace or suppressed exceptions.
- Since:
- 1.0
- Version:
- 1.0
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
group
The group that was required for access.
-
-
Constructor Details
-
AccessException
Creates a new instance.- Parameters:
group- The group that was required for access.
-