Package cloud.commandframework.bukkit
Class BukkitCommandManager.BrigadierFailureException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalStateException
cloud.commandframework.bukkit.BukkitCommandManager.BrigadierFailureException
- All Implemented Interfaces:
Serializable
- Enclosing class:
- BukkitCommandManager<C>
public static final class BukkitCommandManager.BrigadierFailureException
extends IllegalStateException
- See Also:
-
Constructor Summary
ConstructorDescriptionBrigadierFailureException
(@NonNull BukkitCommandManager.BrigadierFailureReason reason) Initialize a new Brigadier failure exceptionBrigadierFailureException
(@NonNull BukkitCommandManager.BrigadierFailureReason reason, @NonNull Throwable cause) Initialize a new Brigadier failure exception -
Method Summary
Modifier and TypeMethodDescriptionGet the reason for the exceptionMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
BrigadierFailureException
Initialize a new Brigadier failure exception- Parameters:
reason
- Reason
-
BrigadierFailureException
public BrigadierFailureException(@NonNull BukkitCommandManager.BrigadierFailureReason reason, @NonNull Throwable cause) Initialize a new Brigadier failure exception- Parameters:
reason
- Reasoncause
- Cause
-
-
Method Details
-
getReason
Get the reason for the exception- Returns:
- Reason
-
getMessage
- Overrides:
getMessage
in classThrowable
-