if (value.intValue() > Short.MAX_VALUE || value.intValue() < Short.MIN_VALUE)
if (Math.abs(value.intValue()) > Short.MAX_VALUE)
    short getShort() throws SQLException {        if (isNull()) return SHORT_NULL_VALUE;        Integer value = (Integer)field.sqldata;        // check if value is withing bounds        if (value.intValue() > Short.MAX_VALUE ||            value.intValue() < Short.MIN_VALUE)                throw (SQLException)createException(                    BYTE_CONVERSION_ERROR).fillInStackTrace();        return ((Integer)field.sqldata).shortValue();    }