if (Math.abs(value.longValue()) > Integer.MAX_VALUE)
if (value.longValue() > MAX_INT_VALUE || value.longValue() < MIN_INT_VALUE)
    int getInt() throws SQLException {        if (isNull()) return INT_NULL_VALUE;        Long value = (Long)field.sqldata;        // check if value is withing bounds        if (Math.abs(value.longValue()) > Integer.MAX_VALUE)                throw (SQLException)createException(                    BYTE_CONVERSION_ERROR).fillInStackTrace();        return ((Long)field.sqldata).intValue();    }