Top Description Fields
org.apache.derby.shared.common.error

public Interface ExceptionSeverity


Severity constants for SQLExceptions. These constants are used in the ErrorCode available on a SQLException to provide information about the severity of the error.
See Also
java.sql.SQLException

Field Summary

Modifier and TypeField and Description
public static final int
DATABASE_SEVERITY

DATABASE_SEVERITY is associated with errors which cause the current database to be closed.

public static final int
NO_APPLICABLE_SEVERITY

NO_APPLICABLE_SEVERITY occurs only when the system was unable to determine the severity.

public static final int
SESSION_SEVERITY

SESSION_SEVERITY is associated with errors which cause the current connection to be closed.

public static final int
STATEMENT_SEVERITY

STATEMENT_SEVERITY is associated with errors which cause only the current statement to be aborted.

public static final int
SYSTEM_SEVERITY

SYSTEM_SEVERITY is associated with internal errors which cause the system to shut down.

public static final int
TRANSACTION_SEVERITY

TRANSACTION_SEVERITY is associated with those errors which cause the current transaction to be aborted.

public static final int
WARNING_SEVERITY

WARNING_SEVERITY is associated with SQLWarnings.

Field Detail

DATABASE_SEVERITYback to summary
public static final int DATABASE_SEVERITY

DATABASE_SEVERITY is associated with errors which cause the current database to be closed.

NO_APPLICABLE_SEVERITYback to summary
public static final int NO_APPLICABLE_SEVERITY

NO_APPLICABLE_SEVERITY occurs only when the system was unable to determine the severity.

SESSION_SEVERITYback to summary
public static final int SESSION_SEVERITY

SESSION_SEVERITY is associated with errors which cause the current connection to be closed.

STATEMENT_SEVERITYback to summary
public static final int STATEMENT_SEVERITY

STATEMENT_SEVERITY is associated with errors which cause only the current statement to be aborted.

SYSTEM_SEVERITYback to summary
public static final int SYSTEM_SEVERITY

SYSTEM_SEVERITY is associated with internal errors which cause the system to shut down.

TRANSACTION_SEVERITYback to summary
public static final int TRANSACTION_SEVERITY

TRANSACTION_SEVERITY is associated with those errors which cause the current transaction to be aborted.

WARNING_SEVERITYback to summary
public static final int WARNING_SEVERITY

WARNING_SEVERITY is associated with SQLWarnings.