Class LongArgument.LongParseException

    • Constructor Summary

      Constructors 
      Constructor Description
      LongParseException​(@NonNull java.lang.String input, long min, long max, @NonNull CommandContext<?> commandContext)
      Construct a new long 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

      • LongParseException

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