From 404852b0b150becdc12c617e5fcdaec0e4056366 Mon Sep 17 00:00:00 2001 From: TheMode Date: Tue, 13 Jul 2021 19:21:29 +0200 Subject: [PATCH] Make ArgumentSyntaxException a RuntimeException --- .../command/builder/exception/ArgumentSyntaxException.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/minestom/server/command/builder/exception/ArgumentSyntaxException.java b/src/main/java/net/minestom/server/command/builder/exception/ArgumentSyntaxException.java index 179e062a9..72281ff93 100644 --- a/src/main/java/net/minestom/server/command/builder/exception/ArgumentSyntaxException.java +++ b/src/main/java/net/minestom/server/command/builder/exception/ArgumentSyntaxException.java @@ -13,7 +13,7 @@ import org.jetbrains.annotations.NotNull; * Be aware that the message returned by {@link #getMessage()} is only here for debugging purpose, * you should refer to {@link #getErrorCode()} to identify the exceptions. */ -public class ArgumentSyntaxException extends Exception { +public class ArgumentSyntaxException extends RuntimeException { private final String input; private final int errorCode;