|
|||||||||
| Home >> All >> org >> apache >> derby >> iapi >> [ error overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.apache.derby.iapi.error
Interface ExceptionSeverity

- 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.
| Field Summary | |
static int |
DATABASE_SEVERITY
DATABASE_SEVERITY is associated with errors which cause the current database to be closed. |
static int |
NO_APPLICABLE_SEVERITY
NO_APPLICABLE_SEVERITY occurs only when the system was unable to determine the severity. |
static int |
SESSION_SEVERITY
SESSION_SEVERITY is associated with errors which cause the current connection to be closed. |
static int |
STATEMENT_SEVERITY
STATEMENT_SEVERITY is associated with errors which cause only the current statement to be aborted. |
static int |
SYSTEM_SEVERITY
SYSTEM_SEVERITY is associated with internal errors which cause the system to shut down. |
static int |
TRANSACTION_SEVERITY
TRANSACTION_SEVERITY is associated with those errors which cause the current transaction to be aborted. |
static int |
WARNING_SEVERITY
WARNING_SEVERITY is associated with SQLWarnings. |
| Field Detail |
NO_APPLICABLE_SEVERITY
public static final int NO_APPLICABLE_SEVERITY
- NO_APPLICABLE_SEVERITY occurs only when the system was
unable to determine the severity.
- See Also:
- Constant Field Values
WARNING_SEVERITY
public static final int WARNING_SEVERITY
- WARNING_SEVERITY is associated with SQLWarnings.
- See Also:
- Constant Field Values
STATEMENT_SEVERITY
public static final int STATEMENT_SEVERITY
- STATEMENT_SEVERITY is associated with errors which
cause only the current statement to be aborted.
- See Also:
- Constant Field Values
TRANSACTION_SEVERITY
public static final int TRANSACTION_SEVERITY
- TRANSACTION_SEVERITY is associated with those errors which
cause the current transaction to be aborted.
- See Also:
- Constant Field Values
SESSION_SEVERITY
public static final int SESSION_SEVERITY
- SESSION_SEVERITY is associated with errors which
cause the current connection to be closed.
- See Also:
- Constant Field Values
DATABASE_SEVERITY
public static final int DATABASE_SEVERITY
- DATABASE_SEVERITY is associated with errors which
cause the current database to be closed.
- See Also:
- Constant Field Values
SYSTEM_SEVERITY
public static final int SYSTEM_SEVERITY
- SYSTEM_SEVERITY is associated with internal errors which
cause the system to shut down.
- See Also:
- Constant Field Values
|
|||||||||
| Home >> All >> org >> apache >> derby >> iapi >> [ error overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC