Class BotJoinDeniedException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
nl.pim16aap2.lightkeeper.framework.BotJoinDeniedException
All Implemented Interfaces:
Serializable

public class BotJoinDeniedException extends RuntimeException
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 Details

    • BotJoinDeniedException

      public BotJoinDeniedException(String message)
      Creates a denial exception.
      Parameters:
      message - Human-readable denial detail, including the phase and the server's kick reason.