Class NumericConversionException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
dev.frostlake.executor.NumericConversionException
All Implemented Interfaces:
Serializable

public class NumericConversionException extends RuntimeException
A value that could not be read as a number where one was required — live's "Numeric value 'a' is not recognized", and the VARIANT spelling of the same failure.

It is a type of its own for one reason: the aggregate paths wrap their evaluation in a blanket catch that turns a failure into a NULL result, which is the right thing for an expression that merely does not apply to a group and the wrong thing for a refusal the user has to see. This is rethrown through those catches, as InvalidQualifierException already is.

See Also:
  • Constructor Details

    • NumericConversionException

      public NumericConversionException(String message)
      Parameters:
      message - live's sentence, which carries no compilation prefix