if (longValue > Integer.MAX_VALUE || longValue < Integer.MIN_VALUE)
if (Math.abs(longValue) > Integer.MAX_VALUE)
    int getInt() throws SQLException {        if (isNull()) return INT_NULL_VALUE;        long longValue = getLong();        // check if value is withing bounds        if (longValue > Integer.MAX_VALUE ||            longValue < Integer.MIN_VALUE)                throw (SQLException)createException(                    INT_CONVERSION_ERROR).fillInStackTrace();        return (int)longValue;    }