Class BotJoinDeniedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
nl.pim16aap2.lightkeeper.framework.BotJoinDeniedException
- All Implemented Interfaces:
Serializable
Thrown when a
FULL_LOGIN bot is refused by the server (whitelist, ban, full server, or a plugin
denial at pre-login/login).
The message carries the protocol phase the connection was denied in and the server's kick reason text, so consumers can assert on denials as typed errors rather than parsing generic failures.
- See Also:
-
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
-
Constructor Details
-
BotJoinDeniedException
Creates a denial exception.- Parameters:
message- Human-readable denial detail, including the phase and the server's kick reason.
-