add Exception to the name

This commit is contained in:
Aikar
2017-08-02 23:33:57 -04:00
parent 5711497ef8
commit 2306418c83
2 changed files with 3 additions and 3 deletions
@@ -23,8 +23,8 @@
package co.aikar.commands;
public class InvalidCommandContext extends RuntimeException {
InvalidCommandContext(String message) {
public class InvalidCommandContextException extends RuntimeException {
InvalidCommandContextException(String message) {
super(message);
}
}
@@ -105,7 +105,7 @@ public class RegisteredCommand <R extends CommandExecutionContext<? extends Comm
}
}
} else {
ACFUtil.sneaky(new InvalidCommandContext(
ACFUtil.sneaky(new InvalidCommandContextException(
"Parameter " + type.getSimpleName() + " of " + this.command + " has no applicable context resolver"
));
}