Class BotHandlerException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
uz.osoncode.telegrambothandler.core.exception.BotHandlerException
All Implemented Interfaces:
Serializable

public class BotHandlerException extends RuntimeException
Unchecked exception thrown when a bot handler method cannot be invoked via reflection. Wraps the underlying cause so that the original failure details are preserved while allowing the exception to propagate through the handler dispatch chain without checked exception declarations.
Since:
0.0.1
Author:
Islom Mirsaburov
See Also:
  • Constructor Details

    • BotHandlerException

      public BotHandlerException(String message, Throwable cause)
      Constructs a new BotHandlerException with a descriptive message and the root cause.
      Parameters:
      message - a human-readable description of the invocation failure
      cause - the underlying exception that prevented handler method execution