if (longValue > Byte.MAX_VALUE || longValue < Byte.MIN_VALUE)
if (Math.abs(longValue) > Byte.MAX_VALUE)
    byte getByte() throws SQLException {        if (isNull()) return BYTE_NULL_VALUE;        long longValue = getLong();        // check if value is withing bounds        if (longValue > Byte.MAX_VALUE ||            longValue < Byte.MIN_VALUE)                throw (SQLException)createException(                    BYTE_CONVERSION_ERROR).fillInStackTrace();        return (byte)longValue;    }