Package dev.frostlake.executor
Class AggregateRangeRefusal
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
dev.frostlake.executor.AggregateRangeRefusal
- All Implemented Interfaces:
Serializable
An aggregate's value that its declared type cannot hold — live's row-time "Number out of
representable range: type FIXED[SB16](38,38){nullable}, value 3", raised where the DECLARED type is
still a legal NUMBER but the value written into it is not: MEDIAN over a NUMBER(38,35) declares
NUMBER(38,38), and a median of 3 has no room there.
A type of its own for the reason NumericConversionException is one: the aggregate paths
wrap their evaluation in a blanket catch that turns a failure into a NULL result, which is wrong for
a refusal the user has to see. This is rethrown through those catches.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AggregateRangeRefusal
- Parameters:
message- live's sentence, which carries no compilation prefix
-