mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-04 23:47:59 +01:00
Make ArgumentSyntaxException a RuntimeException
This commit is contained in:
parent
eea0c7e1eb
commit
404852b0b1
@ -13,7 +13,7 @@ import org.jetbrains.annotations.NotNull;
|
|||||||
* Be aware that the message returned by {@link #getMessage()} is only here for debugging purpose,
|
* 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.
|
* 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 String input;
|
||||||
private final int errorCode;
|
private final int errorCode;
|
||||||
|
Loading…
Reference in New Issue
Block a user