Validates that the scale is within the allowed range. @param scale the scale to validate @throws NumericException if scale is invalid
(int scale)
| 1989 | * @throws NumericException if scale is invalid |
| 1990 | */ |
| 1991 | private static void validateScale(int scale) { |
| 1992 | if (scale < 0 || scale > MAX_SCALE) { |
| 1993 | throw NumericException.instance().put("Invalid scale: " + scale); |
| 1994 | } |
| 1995 | } |
| 1996 | |
| 1997 | private int compareTo0(long bHH, long bHL, long bLH, long bLL) { |
| 1998 | return compare(hh, hl, lh, ll, bHH, bHL, bLH, bLL); |
no test coverage detected