public void setDataSourceLock(int datasource_lock) throws SyncProviderException {
        if(datasource_lock != SyncProvider.DATASOURCE_NO_LOCK ) {
          throw new SyncProviderException(resBundle.handleGetObject("riop.locking").toString());
        }
    }
Modifies the data source lock severity according to the standard
<code>SyncProvider</code> classifications.

@param datasource_lock An <code>int</code> indicating the level of locking to be
       set; must be one of the following constants:
<PRE>
      SyncProvider.DATASOURCE_NO_LOCK,
      SyncProvider.DATASOURCE_ROW_LOCK,
      SyncProvider.DATASOURCE_TABLE_LOCK,
      SyncProvider.DATASOURCE_DB_LOCk
</PRE>
@throws SyncProviderException if the parameter specified is not
          <code>SyncProvider.DATASOURCE_NO_LOCK</code>
src/main/java/org/replicadb/rowset/sun/rowset/providers/RIOptimisticProvider.java