Class IntegerArgument.IntegerParseException

    • Constructor Summary

      Constructors 
      Constructor Description
      IntegerParseException​(@NonNull java.lang.String input, int min, int max, @NonNull CommandContext<?> commandContext)
      Construct a new integer parse exception
    • Method Summary

      Modifier and Type Method Description
      @NonNull java.lang.String getNumberType()
      Get the number type
      boolean hasMax()
      If the parser had a maximum value
      boolean hasMin()
      If the parser had a minimum value
      • 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

      • IntegerParseException

        public IntegerParseException​(@NonNull java.lang.String input,
                                     int min,
                                     int max,
                                     @NonNull CommandContext<?> commandContext)
        Construct a new integer parse exception
        Parameters:
        input - String input
        min - Minimum value
        max - Maximum value
        commandContext - Command context