Class Hierarchy Previous Next Index
java.lang.Object | +----java.lang.Throwable | +----java.lang.Exception | +----java.sql.SQLException | +----COM.cloudscape.synchronization.StopRefreshSQLException
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.
public static java.lang.String STOP_REFRESH_SQL_STATE
protected StopRefreshSQLException(java.lang.String reason)
reason
- A string describing the reason to stop the refresh.
public static StopRefreshSQLException stopRefreshSQLException(java.lang.String reason)
reason
- A string describing the reason to stop the refresh.
public static StopRefreshSQLException stopRefreshSQLException(java.lang.String reason, java.sql.SQLException nextException)
reason
- A string describing the reason to stop the refresh.
nextException
- A SQLException to chain to the new
StopRefreshSQLException.
Class Hierarchy Previous Next Index