Class ByteArgument.ByteParseException

    • Constructor Summary

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

      • ByteParseException

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