Class Hierarchy    Previous  Next  Index

Class COM.cloudscape.synchronization.StopRefreshSQLException

java.lang.Object
    |
    +----java.lang.Throwable
            |
            +----java.lang.Exception
                    |
                    +----java.sql.SQLException
                            |
                            +----COM.cloudscape.synchronization.StopRefreshSQLException

public class StopRefreshSQLException
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 fail. Because the refresh fails, the transaction that raised this error remains provisional.

This exception is especially useful for handling situations that require administrative intervention. After the problem that caused the error is resolved, the application can re-execute the refresh.


Variable Index

 o STOP_REFRESH_SQL_STATE
 

Constructor Index

 o StopRefreshSQLException(String)
Constructor for a StopRefreshSQLException.

Method Index

 o stopRefreshSQLException(String)
Create a StopRefreshSQLException.
 o stopRefreshSQLException(String, SQLException)
Create a StopRefreshSQLException.

Field Detail

 o STOP_REFRESH_SQL_STATE
public static java.lang.String STOP_REFRESH_SQL_STATE

Constructor Detail

 o StopRefreshSQLException
protected StopRefreshSQLException(java.lang.String reason)
          Constructor for a StopRefreshSQLException.
Parameters:
reason - A string describing the reason to stop the refresh.
See Also:
SQLException()

Method Detail

 o stopRefreshSQLException
public static StopRefreshSQLException stopRefreshSQLException(java.lang.String reason)
          Create a StopRefreshSQLException.
Parameters:
reason - A string describing the reason to stop the refresh.
Returns:
a newly created StopRefreshSQLException
 o stopRefreshSQLException
public static StopRefreshSQLException stopRefreshSQLException(java.lang.String reason,
                                                              java.sql.SQLException nextException)
          Create a StopRefreshSQLException.
Parameters:
reason - A string describing the reason to stop the refresh.
nextException - A SQLException to chain to the new StopRefreshSQLException.
Returns:
a newly created StopRefreshSQLException

  Class Hierarchy    Previous  Next  Index