Class Hierarchy        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 SQLException
Copyright © 1998-1999, Cloudscape, 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.

Variables

 o STOP_REFRESH_SQL_STATE
 public static String STOP_REFRESH_SQL_STATE

Constructors

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

Parameters:
reason - A string describing the reason to stop the refresh.
See Also:
SQLException

Methods

 o stopRefreshSQLException
 public static StopRefreshSQLException stopRefreshSQLException(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(String reason,
                                                               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        Index