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.


Variable Index

 o SKIP_TRANSACTION_SQL_STATE

Constructor Index

 o SkipTransactionSQLException(String)
Constructor for a SkipTransactionSQLException.

Method Index

 o skipTransactionSQLException(String)
Create a SkipTransactionSQLException.
 o skipTransactionSQLException(String, SQLException)
Create a SkipTransactionSQLException.

Variables

 o SKIP_TRANSACTION_SQL_STATE
 public static String SKIP_TRANSACTION_SQL_STATE

Constructors

 o SkipTransactionSQLException
 protected SkipTransactionSQLException(String reason)
Constructor for a SkipTransactionSQLException.

Parameters:
reason - A string describing the reason to skip the transaction
See Also:
SQLException

Methods

 o 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
 o 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