Class NamespacedKeyArgument.NamespacedKeyParseException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
cloud.commandframework.exceptions.parsing.ParserException
cloud.commandframework.bukkit.argument.NamespacedKeyArgument.NamespacedKeyParseException
All Implemented Interfaces:
Serializable
Enclosing class:
NamespacedKeyArgument<C>

public static final class NamespacedKeyArgument.NamespacedKeyParseException extends cloud.commandframework.exceptions.parsing.ParserException
Exception used when NamespacedKeyArgument.Parser fails.
Since:
1.7.0
See Also:
  • Constructor Details

    • NamespacedKeyParseException

      public NamespacedKeyParseException(@NonNull cloud.commandframework.captions.Caption caption, @NonNull String input, @NonNull cloud.commandframework.context.CommandContext<?> context)
      Parameters:
      caption - caption
      input - input
      context - command context
      Since:
      1.7.0
  • Method Details

    • getInput

      public @NonNull String getInput()
      Gets the input string.
      Returns:
      input
      Since:
      1.7.0
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object