Add a method to get the failure reason of SelectorParseExceptions

This commit is contained in:
jmp 2020-10-30 20:06:27 -07:00 committed by Alexander Söderberg
parent a04e3f92cb
commit e6af4e6caa
5 changed files with 18 additions and 4 deletions

View file

@ -334,7 +334,7 @@ public abstract class CommandManager<C> {
*
* @param name Command name
* @param aliases Command aliases
* @param description Command description
* @param description Description for the root literal
* @param meta Command meta
* @return Builder instance
*/
@ -394,7 +394,7 @@ public abstract class CommandManager<C> {
*
* @param name Command name
* @param meta Command meta
* @param description Command description
* @param description Description for the root literal
* @param aliases Command aliases
* @return Builder instance
*/
@ -455,7 +455,7 @@ public abstract class CommandManager<C> {
* {@link Command command} instance
*
* @param name Command name
* @param description Command description
* @param description Description for the root literal
* @param aliases Command aliases
* @return Builder instance
* @throws UnsupportedOperationException If the command manager does not support default command meta creation

View file

@ -37,7 +37,7 @@ public class ParserException extends IllegalArgumentException {
private final CaptionVariable[] captionVariables;
protected ParserException(
final Class<?> argumentParser,
final @NonNull Class<?> argumentParser,
final @NonNull CommandContext<?> context,
final @NonNull Caption errorCaption,
final @NonNull CaptionVariable... captionVariables