Class Hierarchy    Previous  Next  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 java.sql.SQLException
Copyright © 1998-2000, Informix Software, 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.

Field Detail

 o SKIP_TRANSACTION_SQL_STATE
public static java.lang.String SKIP_TRANSACTION_SQL_STATE

Constructor Detail

 o SkipTransactionSQLException
protected SkipTransactionSQLException(java.lang.String reason)
          Constructor for a SkipTransactionSQLException.
Parameters:
reason - A string describing the reason to skip the transaction
See Also:
SQLException()

Method Detail

 o skipTransactionSQLException
public static SkipTransactionSQLException skipTransactionSQLException(java.lang.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(java.lang.String reason,
                                                                      java.sql.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    Previous  Next  Index