| Modifier and Type | Field and Description |
|---|---|
| private static final int | |
| private static final String | |
| private static final int | |
| private static final String | |
| private static final String | |
| private static final int | |
| private static final int | |
| public static boolean | |
| public static boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static HsqlException | |
| public static HsqlException | |
| public static HsqlException | |
| public static HsqlException | |
| public static HsqlException | |
| public static HsqlException | |
| public static HsqlException | |
| public static HsqlException | |
| public static int | |
| public static String | Returns: the error message associated with the error codethe error code associated to the error message errorCode)Returns the error message given the error code. |
| public static String | Returns: the error message associated with the error codethe code for the error message code, int the code for the addon message subCode, final String[] value(s) to use to replace the placeholer(s) add)Returns the error message given the error code. |
| private static String | |
| public static String | Returns: the error message associated with the error codethe error code associated to the error message errorCode)Returns the error SQL STATE sting given the error code. |
| private static String | Returns: anHsqlExceptionmessage string message, String[] optional parameters add)Compose error message by inserting the strings in the add variables in placeholders within the error message. |
| public static HsqlException | |
| public static HsqlException | |
| public static void | |
| public static RuntimeException |
| bundleHandle | back to summary |
|---|---|
| private static final int bundleHandle | |
| defaultMessage | back to summary |
|---|---|
| private static final String defaultMessage | |
| ERROR_CODE_BASE | back to summary |
|---|---|
| private static final int ERROR_CODE_BASE | |
| errPropsName | back to summary |
|---|---|
| private static final String errPropsName | |
| MESSAGE_TAG | back to summary |
|---|---|
| private static final String MESSAGE_TAG | |
| SQL_CODE_DIGITS | back to summary |
|---|---|
| private static final int SQL_CODE_DIGITS | |
| SQL_STATE_DIGITS | back to summary |
|---|---|
| private static final int SQL_STATE_DIGITS | |
| TRACE | back to summary |
|---|---|
| public static boolean TRACE | |
| TRACESYSTEMOUT | back to summary |
|---|---|
| public static boolean TRACESYSTEMOUT | |
| Error | back to summary |
|---|---|
| public Error() | |
| error | back to summary |
|---|---|
| public static HsqlException error(int code, String add) | |
| error | back to summary |
|---|---|
| public static HsqlException error(Throwable t, int code, String add) | |
| error | back to summary |
|---|---|
| public static HsqlException error(int code) | |
| error | back to summary |
|---|---|
| public static HsqlException error(int code, Throwable t) | |
| error | back to summary |
|---|---|
| public static HsqlException error(Throwable t, int code, int subCode, final String[] add) Compose error message by inserting the strings in the add parameters in placeholders within the error message. The message string contains $$ markers for each context variable. Context variables are supplied in the add parameters.
| |
| error | back to summary |
|---|---|
| public static HsqlException error(int code, int code2) | |
| error | back to summary |
|---|---|
| public static HsqlException error(String message, String sqlState) For SIGNAL and RESIGNAL
| |
| error | back to summary |
|---|---|
| public static HsqlException error(final Result result) | |
| getCode | back to summary |
|---|---|
| public static int getCode(String sqlState) | |
| getMessage | back to summary |
|---|---|
| public static String getMessage(final int errorCode) Returns the error message given the error code.
This method is to be used when throwing exception other
than
| |
| getMessage | back to summary |
|---|---|
| public static String getMessage(final int code, int subCode, final String[] add) Returns the error message given the error code.
This method is used
when throwing exception other than | |
| getResourceString | back to summary |
|---|---|
| private static String getResourceString(int code) | |
| getStateString | back to summary |
|---|---|
| public static String getStateString(final int errorCode) Returns the error SQL STATE sting given the error code. This method is to be used when throwing exception based on other exceptions.
| |
| insertStrings | back to summary |
|---|---|
| private static String insertStrings(String message, String[] add) Compose error message by inserting the strings in the add variables in placeholders within the error message. The message string contains $$ markers for each context variable. Context variables are supplied in the add parameter. (by Loic Lefevre) | |
| parseError | back to summary |
|---|---|
| public static HsqlException parseError(int code, String add, int lineNumber) | |
| parseError | back to summary |
|---|---|
| public static HsqlException parseError(int code, int subCode, int lineNumber, final String[] add) | |
| printSystemOut | back to summary |
|---|---|
| public static void printSystemOut(String message) Used to print messages to System.out
| |
| runtimeError | back to summary |
|---|---|
| public static RuntimeException runtimeError(int code, String add) | |