Class ComponentExceptionEvent

java.lang.Object
xyz.dynxsty.dih4jda.events.DIH4JDAEvent<net.dv8tion.jda.api.interactions.components.ComponentInteraction>
xyz.dynxsty.dih4jda.events.DIH4JDAThrowableEvent<net.dv8tion.jda.api.interactions.components.ComponentInteraction>
xyz.dynxsty.dih4jda.events.ComponentExceptionEvent

public class ComponentExceptionEvent extends DIH4JDAThrowableEvent<net.dv8tion.jda.api.interactions.components.ComponentInteraction>
An event that gets fired when an exception gets raised while interacting with a message component.
  • Constructor Details

    • ComponentExceptionEvent

      public ComponentExceptionEvent(@Nonnull DIH4JDA dih4jda, @Nonnull net.dv8tion.jda.api.interactions.components.ComponentInteraction interaction, @Nonnull Throwable throwable)
      Creates a new instance of this event.
      Parameters:
      dih4jda - the DIH4JDA instance that fired this event.
      interaction - the ComponentInteraction.
      throwable - the Throwable that was thrown.