public class DecimalInconvertibleException
extends java.lang.ArithmeticException
BigDecimal
).
This exception should only be thrown for cases when the DecimalType
other than DecimalType.FINITE
cannot be represented in the target type. That is, if the target type does not support Infinity and/or NaN.
This exception should not be thrown for cases where the target type supports NaN, but does not support signalling NaN. In that situation, NaN should be returned.
Constructor and Description |
---|
DecimalInconvertibleException(java.lang.String message,
DecimalType decimalType,
int signum) |
Modifier and Type | Method and Description |
---|---|
DecimalType |
getDecimalType() |
int |
getSignum() |
public DecimalInconvertibleException(java.lang.String message, DecimalType decimalType, int signum)
public DecimalType getDecimalType()
public int getSignum()
Copyright © 2001-2023 Jaybird (Firebird JDBC) team. All rights reserved.