Class StringArgument.StringParseException

    • Method Summary

      Modifier and Type Method Description
      @NonNull java.lang.String getInput()
      Get the input provided by the sender
      @NonNull StringArgument.StringMode getStringMode()
      Get the string mode
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • StringParseException

        public StringParseException​(@NonNull java.lang.String input,
                                    @NonNull StringArgument.StringMode stringMode,
                                    @NonNull CommandContext<?> context)
        Construct a new string parse exception
        Parameters:
        input - Input
        stringMode - String mode
        context - Command context
    • Method Detail

      • getInput

        public @NonNull java.lang.String getInput()
        Get the input provided by the sender
        Returns:
        Input