presto-spi/src/main/java/io/prestosql/spi/type/DecimalConversions.java/DecimalConversions/throwCastException
class DecimalConversions:    private static PrestoException throwCastException(long value, long sourcePrecision, long sourceScale, long resultPrecision, long resultScale)
    {
        return new PrestoException(INVALID_CAST_ARGUMENT,
                format("Cannot cast DECIMAL(%d, %d) '%s' to DECIMAL(%d, %d)",
                        sourcePrecision,
                        sourceScale,
                        Decimals.toString(value, (int) sourceScale),
                        resultPrecision,
                        resultScale));
    }