128129130131132133134135136137138
public void testUpdateXXX() throws Exception { JdbcRowSet jrs = newJdbcRowSet(); try { jrs.updateAsciiStream(100, null, 100L); fail("Should throw SQLFeatureNotSupportedException"); } catch (SQLFeatureNotSupportedException e) { // expected }
135136137138139140141142143144145
} catch (SQLFeatureNotSupportedException e) { // expected } try { jrs.updateAsciiStream("not exist", null, 100L); fail("Should throw SQLFeatureNotSupportedException"); } catch (SQLFeatureNotSupportedException e) { // expected }
142143144145146147148149150151152
} catch (SQLFeatureNotSupportedException e) { // expected } try { jrs.updateAsciiStream(100, null); fail("Should throw SQLFeatureNotSupportedException"); } catch (SQLFeatureNotSupportedException e) { // expected }
149150151152153154155156157158159
} catch (SQLFeatureNotSupportedException e) { // expected } try { jrs.updateAsciiStream("not", null); fail("Should throw SQLFeatureNotSupportedException"); } catch (SQLFeatureNotSupportedException e) { // expected }