if (Math.abs(value) > Short.MAX_VALUE)
if (value > MAX_SHORT_VALUE || value < MIN_SHORT_VALUE)
    void setLong(long value) throws java.sql.SQLException {        // check if value is within bounds        if (Math.abs(value) > Short.MAX_VALUE)                throw (SQLException)createException(                    LONG_CONVERSION_ERROR).fillInStackTrace();        setShort((short)value);    }