Class Hierarchy Index
Class COM.cloudscape.synchronization.SkipTransactionSQLException
java.lang.Object
|
+----java.lang.Throwable
|
+----java.lang.Exception
|
+----java.sql.SQLException
|
+----COM.cloudscape.synchronization.SkipTransactionSQLException
- public class SkipTransactionSQLException
- extends SQLException
Copyright © 1998-1999, Cloudscape, Inc. All rights reserved.
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.
-
SKIP_TRANSACTION_SQL_STATE
-
-
SkipTransactionSQLException(String)
- Constructor for a SkipTransactionSQLException.
-
skipTransactionSQLException(String)
- Create a SkipTransactionSQLException.
-
skipTransactionSQLException(String, SQLException)
- Create a SkipTransactionSQLException.
SKIP_TRANSACTION_SQL_STATE
public static String SKIP_TRANSACTION_SQL_STATE
SkipTransactionSQLException
protected SkipTransactionSQLException(String reason)
- Constructor for a SkipTransactionSQLException.
- Parameters:
- reason - A string describing the reason to skip the transaction
- See Also:
- SQLException
skipTransactionSQLException
public static SkipTransactionSQLException skipTransactionSQLException(String reason)
- Create a SkipTransactionSQLException.
- Parameters:
- reason - A string describing the reason to skip the transaction.
- Returns:
- a newly created SkipTransactionSQLException
skipTransactionSQLException
public static SkipTransactionSQLException skipTransactionSQLException(String reason,
SQLException nextException)
- Create a SkipTransactionSQLException.
- Parameters:
- reason - A string describing the reason to skip the transaction.
- nextException - A SQLException to chain to the new
SkipTransactionSQLException.
- Returns:
- a newly created SkipTransactionSQLException
Class Hierarchy Index