public final class GDSExceptionHelper
extends java.lang.Object
This loads all messages during class initialization.
| Modifier and Type | Class and Description | 
|---|---|
| static class  | GDSExceptionHelper.GDSMessageThis class wraps message template obtained from isc_error_msg.properties
 file and allows to set parameters to the message. | 
| Modifier and Type | Method and Description | 
|---|---|
| static GDSExceptionHelper.GDSMessage | getMessage(int code)This method returns a message for the specified error code. | 
| static java.lang.String | getSQLState(int code)Get the SQL state for the specified error code. | 
| static java.lang.String | getSQLState(int code,
           java.lang.String defaultSQLState)Get the SQL state for the specified error code. | 
public static GDSExceptionHelper.GDSMessage getMessage(int code)
code - Firebird error codeGDSExceptionHelper.GDSMessage class where you can set desired parameters.public static java.lang.String getSQLState(int code)
code - Firebird error codepublic static java.lang.String getSQLState(int code,
                           java.lang.String defaultSQLState)
code - Firebird error codedefaultSQLState - The default SQLState to returndefaultSQLState if nothing found.Copyright © 2001-2020 Jaybird (Firebird JDBC/JCA) team. All rights reserved.