crset.acceptChanges(conn);
} catch (SyncProviderException e) {
ex = e;
}
SyncResolver resolver = ex.getSyncResolver();
try {
resolver.absolute(1);
fail("Should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.relative(1);
fail("Should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.next();
fail("Should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.previous();
fail("Should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.isAfterLast();
fail("Should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.isBeforeFirst();
fail("Should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.isFirst();
fail("Should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.isLast();
fail("Should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.getMetaData();
fail("Should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.getString(2);
fail("Should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.getCursorName();
fail("Should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.updateString(2, "hello");
fail("Should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.rowDeleted();
fail("Should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.rowInserted();
fail("Should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.rowUpdated();
fail("Should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.getWarnings();
fail("Should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.getStatement();
fail("Should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.findColumn("ID");
fail("Should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.wasNull();
fail("Should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.moveToCurrentRow();
fail("Should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.moveToInsertRow();
fail("Should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.refreshRow();
fail("Should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.execute();
fail("Should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.clearWarnings();
fail("Should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.deleteRow();
fail("Should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.insertRow();
fail("Should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.updateRow();
fail("Should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.cancelRowUpdates();
fail("Should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.close();
fail("Should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.getHoldability();
fail("Should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.getNCharacterStream(100);
fail("Should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.getNClob(100);
fail("Should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.getNString(100);
fail("Should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.getRowId(100);
fail("Should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.getSQLXML(100);
fail("Should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.isClosed();
fail("Should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
resolver.updateAsciiStream(100, null, 100L);
resolver.updateAsciiStream("not exist", null, 100L);
try {
resolver.updateAsciiStream(100, null);
fail("Should throw SQLFeatureNotSupportedException");
} catch (SQLFeatureNotSupportedException e) {
// expected
}
resolver.updateBinaryStream(100, null, 100L);
resolver.updateBinaryStream("not exist", null, 100L);
try {
resolver.updateBinaryStream(100, null);
fail("Should throw SQLFeatureNotSupportedException");
} catch (SQLFeatureNotSupportedException e) {
// expected
}
try {
resolver.updateBlob(100, null, 100L);
fail("Should throw SQLFeatureNotSupportedException");
} catch (SQLFeatureNotSupportedException e) {
// expected
}
try {
resolver.updateBlob(100, new StringBufferInputStream("test"));
fail("Should throw SQLFeatureNotSupportedException");
} catch (SQLFeatureNotSupportedException e) {
// expected
}
try {
resolver.updateCharacterStream(100, null, 100L);
fail("Should throw SQLFeatureNotSupportedException");
} catch (SQLFeatureNotSupportedException e) {
// expected
}
try {
resolver.updateCharacterStream("not", null, 100L);
fail("Should throw SQLFeatureNotSupportedException");
} catch (SQLFeatureNotSupportedException e) {
// expected
}
try {
resolver.updateCharacterStream(100, null, 100);
fail("Should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.updateCharacterStream("not", null, 100);
fail("Should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.updateCharacterStream(100, null);
fail("Should throw SQLFeatureNotSupportedException");
} catch (SQLFeatureNotSupportedException e) {
// expected
}
try {
resolver.updateCharacterStream("not", null);
fail("Should throw SQLFeatureNotSupportedException");
} catch (SQLFeatureNotSupportedException e) {
// expected
}
try {
resolver.updateClob(100, null, 100L);
fail("Should throw SQLFeatureNotSupportedException");
} catch (SQLFeatureNotSupportedException e) {
// expected
}
try {
resolver.updateClob("not", null, 100L);
fail("Should throw SQLFeatureNotSupportedException");
} catch (SQLFeatureNotSupportedException e) {
// expected
}
try {
resolver.updateClob(100, new StringReader("test"));
fail("Should throw SQLFeatureNotSupportedException");
} catch (SQLFeatureNotSupportedException e) {
// expected
}
try {
resolver.updateClob("not", new StringReader("test"));
fail("Should throw SQLFeatureNotSupportedException");
} catch (SQLFeatureNotSupportedException e) {
// expected
}
try {
resolver.updateNCharacterStream(100, null, 100L);
fail("Should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.updateNCharacterStream("not", null, 100L);
fail("Should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.updateNCharacterStream(100, null);
fail("Should throw SQLFeatureNotSupportedException");
} catch (SQLFeatureNotSupportedException e) {
// expected
}
try {
resolver.updateNCharacterStream("not", null);
fail("Should throw SQLFeatureNotSupportedException");
} catch (SQLFeatureNotSupportedException e) {
// expected
}
try {
resolver.updateNClob(2, new StringReader("readstr"));
fail("should throw SQLFeatureNotSupportedException");
} catch (SQLFeatureNotSupportedException e) {
// expected
}
try {
resolver.updateNClob("not", new StringReader("readstr"));
fail("should throw SQLFeatureNotSupportedException");
} catch (SQLFeatureNotSupportedException e) {
// expected
}
try {
resolver.updateNClob(100, new StringReader("readstr"), 1000L);
fail("should throw SQLFeatureNotSupportedException");
} catch (SQLFeatureNotSupportedException e) {
// expected
}
try {
resolver.updateNClob("not", new StringReader("readstr"), 1000L);
fail("should throw SQLFeatureNotSupportedException");
} catch (SQLFeatureNotSupportedException e) {
// expected
}
try {
resolver.updateNString(100, "test");
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.updateNString("not", "test");
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.updateRowId(100, null);
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.updateRowId("not", null);
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.updateSQLXML(100, null);
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.updateSQLXML("not", null);
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.afterLast();
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.beforeFirst();
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.first();
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.getArray("not");
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.getArray(100);
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.getAsciiStream("not");
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.getAsciiStream(100);
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.getBigDecimal(100);
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.getBigDecimal("not");
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.getBigDecimal(100, 100);
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.getBigDecimal("not", 100);
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.getBinaryStream(100);
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.getBinaryStream("not");
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.getBlob(100);
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.getBlob("not");
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.getBoolean(100);
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.getBoolean("not");
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.getByte(100);
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.getByte("not");
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.getBytes(100);
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.getBytes("not");
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
// //////
try {
resolver.getCharacterStream(100);
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.getCharacterStream("not");
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.getClob(100);
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.getClob("not");
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.getDate(100);
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.getDate("not");
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.getDate(100, null);
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.getDate("not", null);
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.getDouble(100);
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.getDouble("not");
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.getFloat(100);
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.getFloat("not");
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.getInt(100);
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.getInt("not");
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.getLong(100);
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.getLong("not");
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.getNCharacterStream("not");
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.getNClob("not");
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.getNString("not");
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.getObject("not");
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.getObject(100);
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.getObject("not", null);
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.getObject(100, null);
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.getRef("not");
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.getRef(100);
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.getRowId("not");
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.getSQLXML("not");
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.getShort("not");
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.getShort(100);
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.getString("not");
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.getTime(100);
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.getTime("not");
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.getTime(100, null);
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.getTime("not", null);
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.getTimestamp(100);
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.getTimestamp("not");
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.getTimestamp(100, null);
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.getTimestamp("not", null);
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.getURL(100);
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.getURL("not");
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.getUnicodeStream(100);
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.getUnicodeStream("not");
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.last();
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.updateArray(100, null);
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.updateArray("not", null);
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
resolver.updateAsciiStream("not", null);
try {
resolver.updateAsciiStream("not", null, 100);
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.updateAsciiStream(100, null, 100);
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.updateBigDecimal(100, null);
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.updateBigDecimal("not", null);
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.updateBinaryStream("not", null);
fail("should throw SQLFeatureNotSupportedException");
} catch (SQLFeatureNotSupportedException e) {
// expected
}
try {
resolver.updateBinaryStream("not", null, 100);
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.updateBinaryStream(100, null, 100);
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.updateBlob("not", new StringBufferInputStream("test"));
fail("should throw SQLFeatureNotSupportedException");
} catch (SQLFeatureNotSupportedException e) {
// expected
}
try {
resolver.updateBlob("not", new StringBufferInputStream("test"),
100L);
fail("should throw SQLFeatureNotSupportedException");
} catch (SQLFeatureNotSupportedException e) {
// expected
}
try {
resolver.updateBoolean(100, false);
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.updateBoolean("not", false);
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
byte aByte = 0;
try {
resolver.updateByte(100, aByte);
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.updateByte("not", aByte);
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.updateBytes(100, null);
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.updateBytes("not", null);
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.updateDate(100, null);
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.updateDate("not", null);
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.updateDouble(100, 0);
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.updateDouble("not", 0);
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.updateFloat(100, 0);
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.updateFloat("not", 0);
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.updateInt(100, 0);
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.updateInt("not", 0);
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.updateLong(100, 0);
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.updateLong("not", 0);
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.updateNull(100);
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.updateNull("not");
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.updateObject(100, null);
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.updateObject("not", null);
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.updateObject(100, null, 10);
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.updateObject("not", null, 10);
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.updateRef(100, null);
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.updateRef("not", null);
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
short aShort = 0;
try {
resolver.updateShort(100, aShort);
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.updateShort("not", aShort);
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.updateString("not", null);
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.updateTime("not", null);
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.updateTime(100, null);
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.updateTimestamp("not", null);
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.updateTimestamp(100, null);
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.updateBlob(100, new MockBlob());
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.updateBlob("not", new MockBlob());
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.updateClob(100, new MockClob());
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.updateClob("not", new MockClob());
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.updateNClob(100, new MockNClob());
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
try {
resolver.updateNClob("not", new MockNClob());
fail("should throw UnsupportedOperationException");
} catch (UnsupportedOperationException e) {
// expected
}
}