Class Hierarchy        Index

Interface COM.cloudscape.types.JBMSExceptionSeverity

public interface JBMSExceptionSeverity
Copyright © 1997-1999, Cloudscape, Inc. All rights reserved.

JBMSExceptionSeverity contains severity constants for Cloudscape SQLExceptions. These constants are used in the ErrorCode available on a SQLException to provide information about the severity of the error.

The constants defined in this interface are those returned by Cloudscape SQLExceptions as the result of a getErrorCode request.

See Also:
SQLException

Variable Index

 o DATABASE_SEVERITY
DATABASE_SEVERITY is associated with errors which cause the current database to be closed.
 o NO_APPLICABLE_SEVERITY
NO_APPLICABLE_SEVERITY occurs only when the system was unable to determine the severity.
 o SESSION_SEVERITY
SESSION_SEVERITY is associated with errors which cause the current connection to be closed.
 o STATEMENT_SEVERITY
STATEMENT_SEVERITY is associated with errors which cause only the current statement to be aborted.
 o SYSTEM_SEVERITY
SYSTEM_SEVERITY is associated with internal errors which cause the system to shut down.
 o TRANSACTION_SEVERITY
TRANSACTION_SEVERITY is associated with those errors which cause the current transaction to be aborted.
 o WARNING_SEVERITY
WARNING_SEVERITY is associated with SQLWarnings.

Variables

 o NO_APPLICABLE_SEVERITY
 public static final int NO_APPLICABLE_SEVERITY
NO_APPLICABLE_SEVERITY occurs only when the system was unable to determine the severity. If you see this severity on a SQLException, report it to support-info@cloudscape.com.

 o WARNING_SEVERITY
 public static final int WARNING_SEVERITY
WARNING_SEVERITY is associated with SQLWarnings.

 o STATEMENT_SEVERITY
 public static final int STATEMENT_SEVERITY
STATEMENT_SEVERITY is associated with errors which cause only the current statement to be aborted.

 o TRANSACTION_SEVERITY
 public static final int TRANSACTION_SEVERITY
TRANSACTION_SEVERITY is associated with those errors which cause the current transaction to be aborted.

 o SESSION_SEVERITY
 public static final int SESSION_SEVERITY
SESSION_SEVERITY is associated with errors which cause the current connection to be closed.

 o DATABASE_SEVERITY
 public static final int DATABASE_SEVERITY
DATABASE_SEVERITY is associated with errors which cause the current database to be closed.

 o SYSTEM_SEVERITY
 public static final int SYSTEM_SEVERITY
SYSTEM_SEVERITY is associated with internal errors which cause the system to shut down.


  Class Hierarchy        Index