Class AggregateRangeRefusal

All Implemented Interfaces:
Serializable

public class AggregateRangeRefusal extends RuntimeException
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 Details

    • AggregateRangeRefusal

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