Class DoubleArgument.DoubleParseException

    • Constructor Summary

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

      • DoubleParseException

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