TopBlend: Here is the first difference. There are 6 differences. is old. is new.


java.sql
Class SQLDataSetSyncException


java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by java.sql.SQLRuntimeException
                  extended by java.sql.SQLDataSetSyncException
All Implemented Interfaces:
Serializable

public class SQLDataSetSyncException
extends SQLRuntimeException

The subclass of SQLRuntimeException thrown when an invocation of the sync method for a disconnected DataSet fails.

Since:
1.6
See Also:
Serialized Form

Constructor Summary
SQLDataSetSyncException SQLDataSetSyncException ( Throwable  cause, DataSetResolver
          Reconstructs           Constructs a SQLDataSetSyncException object with a given cause.
 
Method Summary
  DataSetResolver getDataSetResolver ()
          Retrieves a DataSetResolver object that contains the rows that could not be propagated to the underlying data source by calling the sync method on a disconnected DataSet.
 
Methods inherited from class java.lang. Throwable
fillInStackTrace , getCause , getLocalizedMessage , getMessage , getStackTrace , initCause , printStackTrace , printStackTrace , printStackTrace , setStackTrace , toString
 
Methods inherited from class java.lang. Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , wait , wait , wait
 

Constructor Detail

SQLDataSetSyncException


public SQLDataSetSyncException(Throwable cause,
 DataSetResolver<?> ds)  cause) 
Reconstructs Constructs a SQLDataSetSyncException object with a given cause. The reason is initialized to null if cause==null or to cause.toString() if cause!=null.

Parameters:
cause - the underlying reason for this SQLDataSetSyncException (which is saved for later retrieval by the getCause() method); may be null indicating the cause is non-existent or unknown.
ds - a DataSetSetResolver containing the rows caused the conflict.
Since:
1.6
Method Detail

getDataSetResolver


public DataSetResolver<?> getDataSetResolver()
Retrieves a DataSetResolver object that contains the rows that could not be propagated to the underlying data source by calling the sync method on a disconnected DataSet.