diff --git a/docs/acf-core/co/aikar/commands/ConditionFailedException.html b/docs/acf-core/co/aikar/commands/ConditionFailedException.html index a57097a9..25995320 100644 --- a/docs/acf-core/co/aikar/commands/ConditionFailedException.html +++ b/docs/acf-core/co/aikar/commands/ConditionFailedException.html @@ -99,6 +99,9 @@
  • java.lang.Exception
  • +
  • +
    @@ -235,7 +240,7 @@ extends
  • InvalidCommandArgument

    -
    public InvalidCommandArgument(co.aikar.locales.MessageKeyProvider key,
    +
    public InvalidCommandArgument(co.aikar.locales.MessageKeyProvider key,
                                   String... replacements)
  • @@ -245,7 +250,7 @@ extends
  • InvalidCommandArgument

    -
    public InvalidCommandArgument(co.aikar.locales.MessageKey key,
    +
    public InvalidCommandArgument(co.aikar.locales.MessageKey key,
                                   String... replacements)
  • @@ -255,7 +260,7 @@ extends
  • InvalidCommandArgument

    -
    public InvalidCommandArgument(co.aikar.locales.MessageKeyProvider key,
    +
    public InvalidCommandArgument(co.aikar.locales.MessageKeyProvider key,
                                   boolean showSyntax,
                                   String... replacements)
  • @@ -266,7 +271,7 @@ extends
  • InvalidCommandArgument

    -
    public InvalidCommandArgument(co.aikar.locales.MessageKey key,
    +
    public InvalidCommandArgument(co.aikar.locales.MessageKey key,
                                   boolean showSyntax,
                                   String... replacements)
  • @@ -277,7 +282,7 @@ extends
  • InvalidCommandArgument

    -
    public InvalidCommandArgument(String message)
    +
    public InvalidCommandArgument(String message)
  • @@ -286,7 +291,7 @@ extends
  • InvalidCommandArgument

    -
    public InvalidCommandArgument(String message,
    +
    public InvalidCommandArgument(String message,
                                   boolean showSyntax)
  • diff --git a/docs/acf-core/co/aikar/commands/ShowCommandHelp.html b/docs/acf-core/co/aikar/commands/ShowCommandHelp.html index 90745507..413ab4bf 100644 --- a/docs/acf-core/co/aikar/commands/ShowCommandHelp.html +++ b/docs/acf-core/co/aikar/commands/ShowCommandHelp.html @@ -99,6 +99,9 @@
  • java.lang.Exception
    • diff --git a/docs/acf-core/co/aikar/commands/package-tree.html b/docs/acf-core/co/aikar/commands/package-tree.html index 0ac75c85..196d342f 100644 --- a/docs/acf-core/co/aikar/commands/package-tree.html +++ b/docs/acf-core/co/aikar/commands/package-tree.html @@ -107,15 +107,15 @@
      • java.lang.Exception
          +
        • java.lang.RuntimeException +
            +
          • co.aikar.commands.CommandCompletions.SyncCompletionRequired
          • co.aikar.commands.InvalidCommandArgument
          • -
          • java.lang.RuntimeException - diff --git a/docs/acf-core/overview-tree.html b/docs/acf-core/overview-tree.html index f74f6e63..3a328085 100644 --- a/docs/acf-core/overview-tree.html +++ b/docs/acf-core/overview-tree.html @@ -114,15 +114,15 @@
            • java.lang.Exception
                +
              • java.lang.RuntimeException +
                  +
                • co.aikar.commands.CommandCompletions.SyncCompletionRequired
                • co.aikar.commands.InvalidCommandArgument
                • -
                • java.lang.RuntimeException - diff --git a/docs/acf-core/serialized-form.html b/docs/acf-core/serialized-form.html index da21902c..434e8b15 100644 --- a/docs/acf-core/serialized-form.html +++ b/docs/acf-core/serialized-form.html @@ -89,7 +89,7 @@
                • -

                  Class co.aikar.commands.InvalidCommandArgument extends Exception implements Serializable

                  +

                  Class co.aikar.commands.InvalidCommandArgument extends RuntimeException implements Serializable

                  • Serialized Fields

                    diff --git a/docs/acf-core/src-html/co/aikar/commands/InvalidCommandArgument.html b/docs/acf-core/src-html/co/aikar/commands/InvalidCommandArgument.html index 818a6198..70f13441 100644 --- a/docs/acf-core/src-html/co/aikar/commands/InvalidCommandArgument.html +++ b/docs/acf-core/src-html/co/aikar/commands/InvalidCommandArgument.html @@ -34,7 +34,7 @@ 026import co.aikar.locales.MessageKey; 027import co.aikar.locales.MessageKeyProvider; 028 -029public class InvalidCommandArgument extends Exception { +029public class InvalidCommandArgument extends RuntimeException { 030 final boolean showSyntax; 031 final MessageKey key; 032 final String[] replacements; @@ -42,36 +42,41 @@ 034 public InvalidCommandArgument() { 035 this(null, true); 036 } -037 public InvalidCommandArgument(boolean showSyntax) { -038 this(null, showSyntax); -039 } -040 public InvalidCommandArgument(MessageKeyProvider key, String... replacements) { -041 this(key.getMessageKey(), replacements); -042 } -043 public InvalidCommandArgument(MessageKey key, String... replacements) { -044 this(key, true, replacements); -045 } -046 public InvalidCommandArgument(MessageKeyProvider key, boolean showSyntax, String... replacements) { -047 this(key.getMessageKey(), showSyntax, replacements); +037 +038 public InvalidCommandArgument(boolean showSyntax) { +039 this(null, showSyntax); +040 } +041 +042 public InvalidCommandArgument(MessageKeyProvider key, String... replacements) { +043 this(key.getMessageKey(), replacements); +044 } +045 +046 public InvalidCommandArgument(MessageKey key, String... replacements) { +047 this(key, true, replacements); 048 } -049 public InvalidCommandArgument(MessageKey key, boolean showSyntax, String... replacements) { -050 super(key.getKey(), null, false, false); -051 this.showSyntax = showSyntax; -052 this.key = key; -053 this.replacements = replacements; -054 } -055 -056 public InvalidCommandArgument(String message) { -057 this(message, true); -058 } -059 -060 public InvalidCommandArgument(String message, boolean showSyntax) { -061 super(message, null, false, false); -062 this.showSyntax = showSyntax; -063 this.replacements = null; -064 this.key = null; -065 } -066} +049 +050 public InvalidCommandArgument(MessageKeyProvider key, boolean showSyntax, String... replacements) { +051 this(key.getMessageKey(), showSyntax, replacements); +052 } +053 +054 public InvalidCommandArgument(MessageKey key, boolean showSyntax, String... replacements) { +055 super(key.getKey(), null, false, false); +056 this.showSyntax = showSyntax; +057 this.key = key; +058 this.replacements = replacements; +059 } +060 +061 public InvalidCommandArgument(String message) { +062 this(message, true); +063 } +064 +065 public InvalidCommandArgument(String message, boolean showSyntax) { +066 super(message, null, false, false); +067 this.showSyntax = showSyntax; +068 this.replacements = null; +069 this.key = null; +070 } +071}