Class Hierarchy Previous Next Index
java.lang.Object | +----java.lang.Throwable | +----java.lang.Exception | +----java.sql.SQLException | +----COM.cloudscape.synchronization.SkipTransactionSQLException
A SQLException that a work unit may throw to cause a refresh command to skip (and log) the work unit's transaction. The refresh command will process subsequent transactions normally. This exception is especially useful for reporting errors due to conflicts. Cloudscape synchronization logs the failed transaction as well as the error that caused the failure. The logged information is available at both the source and target databases.
public static java.lang.String SKIP_TRANSACTION_SQL_STATE
protected SkipTransactionSQLException(java.lang.String reason)
reason
- A string describing the reason to skip the transaction
public static SkipTransactionSQLException skipTransactionSQLException(java.lang.String reason)
reason
- A string describing the reason to skip the transaction.
public static SkipTransactionSQLException skipTransactionSQLException(java.lang.String reason, java.sql.SQLException nextException)
reason
- A string describing the reason to skip the transaction.
nextException
- A SQLException to chain to the new
SkipTransactionSQLException.
Class Hierarchy Previous Next Index