public class IfxErrMsg
extends java.lang.Object
Constructor and Description |
---|
IfxErrMsg()
Empty constructor.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getFormattedMessage(int sqlCode,
java.lang.String locale,
java.lang.Object... args) |
static IfxASFException |
getIfxASFException(int sqlcode,
IfxConnection conn)
Return IfxASFException made up of the following information: - sqlcode -
error message text for error 'sqlcode', taken from our .msg files.
|
static IfxASFException |
getIfxASFException(int sqlcode,
java.lang.String msg,
IfxConnection conn)
Return IfxASFException made up of the following information: - sqlcode -
error message text for error 'sqlcode', and 'msg'.
|
static IfxCSSException |
getIfxCSSException(int sqlcode,
IfxConnection conn)
Return IfxCSSException made up of the following information: - sqlcode -
error message text for error 'sqlcode', taken from our .msg files.
|
static IfxCSSException |
getIfxCSSException(int sqlcode,
java.lang.String msg,
IfxConnection conn)
Return IfxCSSException made up of the following information: - sqlcode -
error message text for error 'sqlcode', and 'msg'.
|
static IfxJNSException |
getIfxJNSException(int sqlcode,
IfxConnection conn)
Return IfxJNSException made up of the following information: - sqlcode -
error message text for error 'sqlcode', taken from our .msg files.
|
static java.util.Locale |
getLocale(java.lang.String locale) |
static IfxASFException |
getLocIfxASFException(int sqlcode,
java.lang.String locale)
Return IfxASFException made up of the following information: - sqlcode -
error message text for error 'sqlcode', taken from our .msg files.
|
static IfxASFException |
getLocIfxASFException(int sqlcode,
java.lang.String msg,
java.lang.String locale)
Return IfxASFException made up of the following information: - sqlcode -
error message text for error 'sqlcode', and 'msg'.
|
static IfxASFException |
getLocIfxASFException(int sqlcode,
java.lang.String msg,
java.lang.String locale,
java.lang.Throwable cause) |
static IfxCSSException |
getLocIfxCSSException(int sqlcode,
java.lang.String locale)
Return IfxCSSException made up of the following information: - sqlcode -
error message text for error 'sqlcode', taken from our .msg files.
|
static IfxCSSException |
getLocIfxCSSException(int sqlcode,
java.lang.String msg,
java.lang.String locale)
Return IfxCSSException made up of the following information: - sqlcode -
error message text for error 'sqlcode', and 'msg'.
|
static IfxJNSException |
getLocIfxJNSException(int sqlcode,
int minor1,
int minor2,
java.lang.String locale)
Return IfxJNSException made up of the following information: - sqlcode -
error message text for error 'sqlcode', and 'minor1' and 'minor2'.
|
static IfxJNSException |
getLocIfxJNSException(int sqlcode,
int minor,
java.lang.String locale)
Return IfxJNSException made up of the following information: - sqlcode -
error message text for error 'sqlcode', and 'minor' This is useful for
including extra text not in the error message text.
|
static IfxJNSException |
getLocIfxJNSException(int sqlcode,
java.lang.String locale)
Return IfxJNSException made up of the following information: - sqlcode -
error message text for error 'sqlcode', taken from our .msg files.
|
static java.io.IOException |
getLocIOException(int sqlcode,
java.lang.String locale)
Return IOException made up of the following information: - error message text
for error 'sqlcode', taken from our .msg files.
|
static java.sql.SQLException |
getLocSQLException(int sqlcode,
java.lang.String locale)
Return SQLException made up of the following information: - error message
text for error 'sqlcode', taken from our .msg files.
|
static java.sql.SQLException |
getLocSQLException(int sqlcode,
java.lang.String msg,
java.lang.String locale)
Return SQLException made up of the following information: - error message
text for error 'sqlcode', and 'msg'.
|
static java.sql.SQLException |
getLocSQLMinorException(int sqlcode,
int minor,
java.lang.String locale)
Return SQLException made up of the following information: - error message
text for error 'sqlcode' plus error message text from jdbcminor.msg for error
'minor' - SqlState code that corresponds to 'sqlcode'.
|
static java.sql.SQLException |
getLocSQLMinorException(int sqlcode,
int minor,
java.lang.String s,
java.lang.String locale)
Return SQLException made up of the following information: - error message
text for error 'sqlcode' plus error message text from jdbcminor.msg for error
'minor' plus string 's' - SqlState code that corresponds to 'sqlcode'.
|
static java.lang.String |
getMessage(int sqlcode) |
static java.lang.String |
getMessage(int sqlcode,
IfxConnection conn) |
static java.lang.String |
getMessage(int sqlCode,
java.util.Locale locale) |
static java.lang.String |
getMessage(int sqlcode,
java.lang.String locale) |
static java.lang.String |
getMessage(int sqlcode,
java.lang.String arg1,
IfxConnection conn) |
static java.lang.String |
getMessage(int sqlcode,
java.lang.String locale,
java.lang.Object... args) |
static java.lang.String |
getMinorMsg(int sqlcode,
IfxConnection conn)
Return the error message text from IfxMinorMsgBundle that corresponds to
error code 'sqlcode'.
|
static java.lang.String |
getMinorMsg(int sqlcode,
java.lang.String locale)
Return the error message text from IfxMinorMsgBundle that corresponds to
error code 'sqlcode'.
|
static java.sql.SQLException |
getSQLException(java.lang.Integer sqlCode,
java.lang.Integer isamCode,
IfxConnection conn,
java.util.Locale locale,
java.lang.String msg) |
static java.sql.SQLException |
getSQLException(java.lang.Integer sqlCode,
java.lang.Integer isamCode,
IfxConnection conn,
java.lang.String locale,
java.lang.String msg) |
static java.sql.SQLException |
getSQLException(int sqlcode,
IfxConnection conn)
Return SQLException made up of the following information: - error message
text for error 'sqlcode', taken from our .msg files.
|
static java.sql.SQLException |
getSQLException(int sqlcode,
java.lang.String msg,
IfxConnection conn)
Return SQLException made up of the following information: - error message
text for error 'sqlcode', and 'msg'.
|
static java.sql.SQLException |
getSQLException(int sqlcode,
java.lang.String msg,
java.util.Locale loc)
Return SQLException made up of the following information: - error message
text for error 'sqlcode', and 'msg'.
|
static java.sql.SQLException |
getSQLException(int sqlcode,
java.lang.String msg,
java.lang.String locale)
Return SQLException made up of the following information: - error message
text for error 'sqlcode', and 'msg'.
|
static java.sql.SQLException |
getSQLMinorException(int sqlcode,
int minor,
IfxConnection conn)
Return SQLException made up of the following information: - error message
text for error 'sqlcode' plus error message text from jdbcminor.msg for error
'minor' - SqlState code that corresponds to 'sqlcode'.
|
static java.sql.SQLException |
getSQLMinorException(int sqlcode,
int minor,
java.lang.String s,
IfxConnection conn)
Return SQLException made up of the following information: - error message
text for error 'sqlcode' plus error message text from jdbcminor.msg for error
'minor' plus string 's' - SqlState code that corresponds to 'sqlcode'.
|
static java.sql.SQLException |
getSQLMinorException(int sqlcode,
java.lang.String s1,
int minor,
java.lang.String s2,
IfxConnection conn)
Return SQLException made up of the following information: - error message
text for error 'sqlcode' plus string 's1' plus error message text from
jdbcminor.msg for error 'minor' plus string 's2' - SqlState code that
corresponds to 'sqlcode'.
|
static java.lang.String |
getSQLSTATE(int sqlcode)
Wrapper for IfxMessage.getSQLSTATE()
|
static java.lang.Exception |
setExceptionCause(java.lang.Exception exception,
java.lang.Exception cause) |
static java.sql.SQLException |
setSQLExceptionCause(java.sql.SQLException sqlException,
java.lang.Exception cause)
Return SQLException with the cause set to 'cause' if the JDK is greater than
or equal to 1.4.
|
public static final int S_MTHNSUPP
public static final int S_BLOBNFND
public static final int S_CNTCROBJ
public static final int S_NDXOTRNG
public static final int S_CNTLDDRV
public static final int S_URLFMT
public static final int S_INCPINPT
public static final int S_INVDQUAL
public static final int S_NULLINPT
public static final int S_DATEFMT
public static final int S_ESCPFMT
public static final int S_TIMEFMT
public static final int S_TMSTPFMT
public static final int S_NUMARGS
public static final int S_TYPNSUPP
public static final int S_SYNTAX
public static final int S_SYSINTRL
public static final int S_QUALLENG
public static final int S_QUALSCOD
public static final int S_QUALECOD
public static final int S_QUALSORE
public static final int S_INVDITVL
public static final int S_NUMEXPCT
public static final int S_DLMEXPCT
public static final int S_CHREXPCT
public static final int S_XTRACHR
public static final int S_NULLSQL
public static final int S_STMTNPRE
public static final int S_UKNOBJTP
public static final int S_MTHNOARG
public static final int S_NOCONN
public static final int S_MXROWRNG
public static final int S_ILLCURNM
public static final int S_NOACTRES
public static final int S_NOSERVER
public static final int S_CNIPRTCL
public static final int S_NCNNSTMT
public static final int S_NOMTDATA
public static final int S_NOCLNNM
public static final int S_NOCURROW
public static final int S_NOSTMT
public static final int S_CNTCVTO
public static final int S_CNTCVFR
public static final int S_CNTLDIPT
public static final int S_TXNSUPP
public static final int S_ROMNSUPP
public static final int S_NTXISONL
public static final int S_INVDTXIL
public static final int S_CNTLKCNN
public static final int S_NMCHNQMK
public static final int S_MTH4QRY
public static final int S_FWDFETCH
public static final int S_INSUFBLB
public static final int S_OTBLBMEM
public static final int S_WRTFAULT
public static final int S_OBJNULL
public static final int S_MSTJDBC
public static final int S_INVSBPRT
public static final int S_INVIPADD
public static final int S_INVPRTNM
public static final int S_INVDBNAM
public static final int S_INVPROP
public static final int S_NOTV5SERVER
public static final int S_RSCTYPE_NOSUP
public static final int S_FDIR_UNSUP
public static final int S_FDIR_ERR
public static final int S_FSIZ
public static final int S_SCRTYPE
public static final int S_SCRROW
public static final int S_NOTYPEMAP
public static final int S_NOTYPENAM
public static final int S_BADINPUT
public static final int S_BADSQLDATA
public static final int S_INVALIDARG
public static final int S_SECUVIAL
public static final int S_RSTYPE_NOSUP
public static final int S_BADTYPEREQUESTED
public static final int S_BADOBJECTYPE
public static final int S_NOTACOLLECTION
public static final int S_EMPTYARRAY
public static final int S_COLLTYPENOTSAME
public static final int S_BADINDEXCOUNT
public static final int S_CALLEDONCE
public static final int S_ENCNOTSUPP
public static final int S_LOCNOTSUPP
public static final int S_NATIVEDATEFMT
public static final int S_INVDATEOBJ
public static final int S_NOTALOB
public static final int S_NOUSERNAME
public static final int S_NOGLSSUPP
public static final int S_INVCTDEFSTR
public static final int S_INVBCOBJECT
public static final int S_NOROWDATA
public static final int S_BADARRAY
public static final int S_BADXIDREQ
public static final int S_BADLENREQ
public static final int S_BADXIDNAME
public static final int S_DBDATELEN
public static final int S_DBDATENOYEAREXP
public static final int S_DBDATEINVYEAREXP
public static final int S_DBDATENOYEARCHAR
public static final int S_INVDBDATEFMT
public static final int S_NOTENOUGHTOKS
public static final int S_BADDATESTR
public static final int S_NOMORETOKS
public static final int S_NOERAFOUND
public static final int S_BADDAYVAL
public static final int S_BADMONTHVAL
public static final int S_GLDATEDTOKS
public static final int S_GLDATEXTOKS
public static final int S_INVALIDJDK
public static final int S_CONN_NOT_SUPP
public static final int S_WRONG_USER_PASSWD
public static final int S_FETCHED_ONE
public static final int S_INVALID_BLOB
public static final int S_NOINSERT
public static final int S_NOTBLNAME
public static final int S_NOKEY
public static final int S_NOTUPTBL
public static final int S_INSERTMODE
public static final int S_OUTPARAM
public static final int S_NAME_NOT_NEEDED
public static final int S_NOT_REG_OUTPARAM
public static final int S_NOT_SET_INPARAM
public static final int S_NOT_SET_OUTPARAM
public static final int S_TYPENAME_REQ
public static final int S_AMBIGUOUS_TYPE
public static final int S_NO_OUTPARAM
public static final int S_NOT_OUTPARAM
public static final int S_INVALID_DIRECTIVE
public static final int S_DATETIME_PARSE_ERROR
public static final int S_EXCEEDED_MAX_CPM_CONN
public static final int S_NS_ACCESS_DENIED
public static final int S_NS_PRIVILEGE_NOTGRANTED
public static final int S_XA_NOTSUPP
public static final int S_RSREADONLY
public static final int S_HTTP_NO_DB_CON
public static final int S_HTTP_DB_IO_ERR
public static final int S_UDTUDRMGR_CHPERMCMD
public static final int S_UDTUDRMGR_JAREXISTS
public static final int S_UDTUDRMGR_COPYTOSERVERFAIL
public static final int S_CPM_INVALID_PARAM
public static final int S_UDTUDRMGR_NO_UDRINFO
public static final int S_UDTUDRMGR_NO_JARSQLNM
public static final int S_UDTUDRMGR_NO_DB_IN_CONN
public static final int S_UDTUDRMGR_CLJAR_NOTEXIST
public static final int S_UDTUDRMGR_INVALID_JARNM
public static final int S_UDTUDRMGR_JAVAC_JAR_CMD
public static final int S_UDTUDRMGR_UDTEXISTS
public static final int S_UDTUDRMGR_NO_UDTSQLNM
public static final int S_UDTUDRMGR_NO_UDTFLDCNT
public static final int S_UDTUDRMGR_NO_UDTLEN
public static final int S_UDTUDRMGR_NO_UDTFLDNMTYP
public static final int S_UDTUDRMGR_NO_CLASSFILE
public static final int S_UDTUDRMGR_NOT_SQLDATA
public static final int S_UDTUDRMGR_UDTCLASSNFD
public static final int S_UDTUDRMGR_UDTNOTEXIST
public static final int S_UDTUDRMGR_INVALID_SUPPFUNCTYP
public static final int S_UDTUDRMGR_RMCLFILE_CMD
public static final int S_UDTUDRMGR_INVALID_FLD
public static final int S_UDTUDRMGR_AMBIGUOUS_TYPE
public static final int S_UDTUDRMGR_NO_FLDTYPMATCH
public static final int S_UDTUDRMGR_INVALID_FLDTYP
public static final int S_UDTUDRMGR_NO_UDTFLDLEN
public static final int S_MAXQUOTEDSTRING
public static final int S_STMTCLOSED
public static final int S_RSCLOSED
public static final int S_INVTIMEOUT
public static final int S_INVMAXFLDSIZ
public static final int S_RESULTSET_NOT_OPEN
public static final int S_UNEXPECTED_EXCEPTION
public static final int S_JDKVERERR
public static final int S_XA_ALREADY_INLOCALTRANS
public static final int S_MTHNSUPP_WITH_SERVER
public static final int S_PAM_CLASS_NOT_FOUND
public static final int S_PAM_INTERFACE
public static final int S_PAM_AUTHORIZATION_FAILURE
public static final int S_PAM_MESSAGE_SIZE_EXCEEDED
public static final int S_PARAMETER_NAME_NOT_FOUND
public static final int S_PARAMETER_MIXED_USAGE
public static final int S_INV_SAVEPOINT_IN_AUTOCOMMIT
public static final int S_INV_OPERATION_SAVEPOINT_IN_XA
public static final int S_INV_SAVEPOINT_NAME_NULL
public static final int S_INV_SAVEPOINT_NULL
public static final int S_INV_SAVEPOINT_DIFF_CONN
public static final int S_NAMED_SAVEPOINT
public static final int S_UNNAMED_SAVEPOINT
public static final int S_INVALID_ARRAY_INDEX_IN_POOL
public static final int S_ARRAY_IS_FREED
public static final int S_LOB_IS_FREED
public static final int S_LOB_STREAM_POS_LEN
public static final int S_INVALID_WRAP
public static final int S_CONCUR_READ_ONLY
public static final int S_IOSTREAM_ERROR
public static final int TEMP_REDIRECT_SQLCODE
public static final int TEMPSQLCODE
public static final int M_FRACSTAT
public static final int M_1FDNODGT
public static final int M_1FDXRDGT
public static final int M_POSITION
public static final int M_MISSING
public static final int M_OUTJOIN
public static final int M_ESCCLAUS
public static final int M_NLT0
public static final int M_int
public static final int M_Integer
public static final int M_long
public static final int M_Long
public static final int M_short
public static final int M_Short
public static final int M_BigDec
public static final int M_byte
public static final int M_byteArry
public static final int M_Byte
public static final int M_boolean
public static final int M_Boolean
public static final int M_float
public static final int M_Float
public static final int M_double
public static final int M_Double
public static final int M_Date
public static final int M_Time
public static final int M_Timestmp
public static final int M_String
public static final int M_InpStrm
public static final int M_ASCStrm
public static final int M_BinStrm
public static final int M_Object
public static final int M_IfxIntrl
public static final int M_CTLMSGTX
public static final int M_ERRCOD
public static final int M_URL
public static final int M_IntervalYM
public static final int M_IntervalDF
public static final int M_Interval
public static final int M_CharStrm
public static final int M_IfxBSONObject
public static final int M_RowId
public static final int M_NClob
public static final int M_SQLXML
public static final int M_LDAP_ADDMSG
public static final int M_LDAP_DELMSG
public static final int M_LDAP_EXISTSMSG
public static final int M_LDAP_UPLOAD_USAGE
public static final int M_LDAP_UPLOAD_INFO
public static final int M_LDAP_DELETE_USAGE
public static final int M_LDAP_DELETE_INFO
public static final int M_LDAP_QUERY_DN
public static final int M_LDAP_QUERY_UNAME
public static final int M_LDAP_QUERY_PW
public static final int M_LDAP_INPUT_ARGS
public static final int M_LDAP_INPUT_FILE
public static final int M_LDAP_INPUT_URL
public static final int M_LDAP_INPUT_IXBASE
public static final int M_LDAP_INPUT_SQBASE
public static final int M_LDAP_INPUT_UNAME
public static final int M_LDAP_QUERY_COMMIT
public static final int M_LDAP_INPUT_ERROR
public static final int M_LDAP_UPLOAD_SQLH
public static final int M_LDAP_DELETE_SQLH
public static final int IFXJNS_INTERNAL_ERROR
public static final int IFXJNS_LDAPCTINIT_ERROR
public static final int IFXJNS_LDAPSEARCH_ERROR
public static final int IFXJNS_LDAPUPDATE_ERROR
public static final int M_LDAP_INITCTXDIR
public static final int M_LDAP_SRCH_RSLTS
public static final int M_LDAP_EMP_SET_SRCH
public static final int M_LDAP_CHK_CRDNTLS
public static final int M_LDAP_SRCH_RSLTS_G
public static final int M_LDAP_UPDT_ADDSRVR
public static final int M_LDAP_UPDT_ADDENTR
public static final int M_LDAP_UPDT_DELSRVR
public static final int M_LDAP_UPDT_DESSQLH
public static final int M_LDAP_UPDT_UPLLDAP
public static final int M_LDAP_UPDT_UPDSQLH
public static final int M_LDAP_ERR_FILSQLH
public static final int M_LDAP_SRCH_GETSRVR
public static final int M_LDAP_UPDT_UPLDLDP
public static final int IFXJNS_SQLHFILE_ACCESS_ERROR
public static final int IFXJNS_SERVER_NOTFOUND_ERROR
public static final int IFXASF_UNEXPECTED_SVR_MSG
public static final int IFXASF_SOCKET_EXCEPTION
public static final int IFXASF_SECURE_SOCKET_EXCEPTION
public static final int IFXASF_BADSERVICE_EXCEPTION
public static final int IFXASF_BADPWD_EXCEPTION
public static final int IFXASF_INVALID_API_INPUT_PARAM
public static final int IFXASF_INTERNAL_COM_ERROR
public static final int IFXCSM_PROTOCOL_ERROR
public static final int IFXCSM_CRYPTO_LIB_ERROR
public static final int NETSCAPE_EXCEPTION
public static final int IFXASF_TRSTD_CNTXT_FAIL
public static final int S_CURSOR_NOT_OPEN
public static final int S_MsgNotFound
public static final int S_INVALID_GENERATED_KEYS
public static final int S_INVALID_CHARACTER
public IfxErrMsg()
public static java.sql.SQLException setSQLExceptionCause(java.sql.SQLException sqlException, java.lang.Exception cause)
sqlException
- cause
- public static java.lang.Exception setExceptionCause(java.lang.Exception exception, java.lang.Exception cause)
public static java.sql.SQLException getSQLException(int sqlcode, IfxConnection conn)
conn
- sqlcode
- public static java.sql.SQLException getLocSQLException(int sqlcode, java.lang.String locale)
sqlcode
- locale
- - locale of exceptionpublic static java.sql.SQLException getSQLException(java.lang.Integer sqlCode, java.lang.Integer isamCode, IfxConnection conn, java.lang.String locale, java.lang.String msg)
public static java.sql.SQLException getSQLException(java.lang.Integer sqlCode, java.lang.Integer isamCode, IfxConnection conn, java.util.Locale locale, java.lang.String msg)
public static java.sql.SQLException getSQLException(int sqlcode, java.lang.String msg, IfxConnection conn)
sqlcode
- msg
- conn
- public static java.sql.SQLException getLocSQLException(int sqlcode, java.lang.String msg, java.lang.String locale)
sqlcode
- msg
- Locale
- public static java.sql.SQLException getSQLException(int sqlcode, java.lang.String msg, java.lang.String locale)
sqlcode
- msg
- locale
- public static java.sql.SQLException getSQLException(int sqlcode, java.lang.String msg, java.util.Locale loc)
sqlcode
- msg
- loc
- public static java.sql.SQLException getSQLMinorException(int sqlcode, int minor, IfxConnection conn)
conn
- sqlcode
- minor
- sqlcodepublic static java.sql.SQLException getLocSQLMinorException(int sqlcode, int minor, java.lang.String locale)
conn
- sqlcode
- minor
- sqlcodepublic static java.sql.SQLException getSQLMinorException(int sqlcode, int minor, java.lang.String s, IfxConnection conn)
conn
- sqlcode
- minor
- sqlcodeString
- to append to minor error message textpublic static java.sql.SQLException getLocSQLMinorException(int sqlcode, int minor, java.lang.String s, java.lang.String locale)
conn
- sqlcode
- minor
- sqlcodeString
- to append to minor error message textpublic static java.sql.SQLException getSQLMinorException(int sqlcode, java.lang.String s1, int minor, java.lang.String s2, IfxConnection conn)
conn
- sqlcode
- minor
- sqlcodeString
- to append to sqlcode error message textString
- to append to minor error message textpublic static java.lang.String getMinorMsg(int sqlcode, java.lang.String locale)
sqlcode
- conn
- public static java.lang.String getMinorMsg(int sqlcode, IfxConnection conn)
sqlcode
- conn
- public static IfxASFException getIfxASFException(int sqlcode, IfxConnection conn)
sqlcode
- conn
- public static IfxASFException getLocIfxASFException(int sqlcode, java.lang.String locale)
sqlcode
- locale
- public static IfxASFException getIfxASFException(int sqlcode, java.lang.String msg, IfxConnection conn)
sqlcode
- msg
- conn
- public static IfxASFException getLocIfxASFException(int sqlcode, java.lang.String msg, java.lang.String locale)
sqlcode
- msg
- locale
- public static IfxASFException getLocIfxASFException(int sqlcode, java.lang.String msg, java.lang.String locale, java.lang.Throwable cause)
public static IfxCSSException getIfxCSSException(int sqlcode, IfxConnection conn)
sqlcode
- conn
- public static IfxCSSException getLocIfxCSSException(int sqlcode, java.lang.String locale)
sqlcode
- locale
- public static IfxCSSException getIfxCSSException(int sqlcode, java.lang.String msg, IfxConnection conn)
sqlcode
- msg
- conn
- public static IfxCSSException getLocIfxCSSException(int sqlcode, java.lang.String msg, java.lang.String locale)
sqlcode
- msg
- locale
- public static java.io.IOException getLocIOException(int sqlcode, java.lang.String locale)
public static IfxJNSException getIfxJNSException(int sqlcode, IfxConnection conn)
sqlcode
- conn
- public static IfxJNSException getLocIfxJNSException(int sqlcode, java.lang.String locale)
sqlcode
- locale
- public static IfxJNSException getLocIfxJNSException(int sqlcode, int minor, java.lang.String locale)
sqlcode
- minor
- locale
- public static IfxJNSException getLocIfxJNSException(int sqlcode, int minor1, int minor2, java.lang.String locale)
sqlcode
- minor1
- minor2
- locale
- public static java.util.Locale getLocale(java.lang.String locale)
public static java.lang.String getMessage(int sqlcode)
public static java.lang.String getMessage(int sqlcode, java.lang.String locale)
public static java.lang.String getMessage(int sqlcode, java.lang.String locale, java.lang.Object... args)
public static java.lang.String getMessage(int sqlCode, java.util.Locale locale)
public static java.lang.String getMessage(int sqlcode, IfxConnection conn)
public static java.lang.String getMessage(int sqlcode, java.lang.String arg1, IfxConnection conn)
public static java.lang.String getFormattedMessage(int sqlCode, java.lang.String locale, java.lang.Object... args)
public static java.lang.String getSQLSTATE(int sqlcode)
sqlcode
- Informix sql error number