Package xyz.dynxsty.dih4jda.events
Class ModalExceptionEvent
java.lang.Object
xyz.dynxsty.dih4jda.events.DIH4JDAEvent<net.dv8tion.jda.api.interactions.modals.ModalInteraction>
xyz.dynxsty.dih4jda.events.DIH4JDAThrowableEvent<net.dv8tion.jda.api.interactions.modals.ModalInteraction>
xyz.dynxsty.dih4jda.events.ModalExceptionEvent
public class ModalExceptionEvent
extends DIH4JDAThrowableEvent<net.dv8tion.jda.api.interactions.modals.ModalInteraction>
An event that gets fired when an exception gets raised while handling a modal interaction.
-
Constructor Summary
ConstructorDescriptionModalExceptionEvent
(DIH4JDA dih4jda, net.dv8tion.jda.api.interactions.modals.ModalInteraction interaction, Throwable throwable) Creates a newModalExceptionEvent
. -
Method Summary
Methods inherited from class xyz.dynxsty.dih4jda.events.DIH4JDAEvent
fire
-
Constructor Details
-
ModalExceptionEvent
public ModalExceptionEvent(@Nonnull DIH4JDA dih4jda, @Nonnull net.dv8tion.jda.api.interactions.modals.ModalInteraction interaction, @Nonnull Throwable throwable) Creates a newModalExceptionEvent
.
-