| Modifier and Type | Field and Description |
|---|---|
| private final transient Agent | |
| private String[] | cachedMessages
Cached error messages (to prevent multiple invocations of the stored procedure to get the same message). |
| private transient ClientConnection | |
| private boolean | |
| private static final String | |
| pack-priv SqlException | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| pack-priv boolean | |
| private boolean | |
| private long | |
| public static final int | |
| protected int | |
| protected int[] | |
| private String | sqlErrmc_
A string representation of |
| protected byte[] | |
| private String[] | sqlErrmcMessages_
Array of errmc strings for each message in the chain. |
| private String | |
| protected byte[] | |
| protected String | |
| private String[] | sqlStates_
SQL states for all the messages in the exception chain. |
| private String | |
| protected byte[] |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| protected String | |
| private void | |
| public boolean | |
| pack-priv String | |
| public Object[] | |
| pack-priv DataTruncation | Returns: ajava.sql.DataTruncation instanceGet a |
| public synchronized int | Returns: the error codeGet the error code based on the SQL code received from the server. |
| pack-priv synchronized String | |
| private String | |
| public long | |
| public long | |
| public synchronized int | |
| private int[] | |
| public synchronized String | |
| public synchronized String | |
| public synchronized String | |
| pack-priv synchronized String | Returns: SQL state for the errorthe error to retrieve SQL state for messageNumber)Get the SQL state for a given error. |
| public synchronized String | |
| private String | Returns: string with details about the errorwhich message number to get the text for messageNumber)Get the unformatted message text (in case we cannot ask the server). |
| public long | |
| private void | |
| pack-priv synchronized int | |
| private void | |
| public void | |
| pack-priv void | |
| public void | |
| public void |
| agent_ | back to summary |
|---|---|
| private final transient Agent agent_ | |
| cachedMessages | back to summary |
|---|---|
| private String[] cachedMessages Cached error messages (to prevent multiple invocations of the stored procedure to get the same message). | |
| connection_ | back to summary |
|---|---|
| private transient ClientConnection connection_ | |
| containsSqlcax_ | back to summary |
|---|---|
| private boolean containsSqlcax_ | |
| elevenBlanks | back to summary |
|---|---|
| private static final String elevenBlanks | |
| exceptionThrownOnStoredProcInvocation_ | back to summary |
|---|---|
| pack-priv SqlException exceptionThrownOnStoredProcInvocation_ | |
| HIGH_ORDER_ROW_COUNT | back to summary |
|---|---|
| private static final int HIGH_ORDER_ROW_COUNT | |
| HIGH_ORDER_UPDATE_COUNT | back to summary |
|---|---|
| private static final int HIGH_ORDER_UPDATE_COUNT | |
| LOW_ORDER_ROW_COUNT | back to summary |
|---|---|
| private static final int LOW_ORDER_ROW_COUNT | |
| LOW_ORDER_UPDATE_COUNT | back to summary |
|---|---|
| private static final int LOW_ORDER_UPDATE_COUNT | |
| messageTextRetrievedContainsTokensOnly_ | back to summary |
|---|---|
| pack-priv boolean messageTextRetrievedContainsTokensOnly_ | |
| returnTokensOnlyInMessageText_ | back to summary |
|---|---|
| private boolean returnTokensOnlyInMessageText_ | |
| rowsetRowCount_ | back to summary |
|---|---|
| private long rowsetRowCount_ | |
| SQL_ERR_LENGTH | back to summary |
|---|---|
| public static final int SQL_ERR_LENGTH | |
| sqlCode_ | back to summary |
|---|---|
| protected int sqlCode_ | |
| sqlErrd_ | back to summary |
|---|---|
| protected int[] sqlErrd_ | |
| sqlErrmc_ | back to summary |
|---|---|
| private String sqlErrmc_ A string representation of | |
| sqlErrmcBytes_ | back to summary |
|---|---|
| protected byte[] sqlErrmcBytes_ | |
| sqlErrmcMessages_ | back to summary |
|---|---|
| private String[] sqlErrmcMessages_ Array of errmc strings for each message in the chain. | |
| sqlErrp_ | back to summary |
|---|---|
| private String sqlErrp_ | |
| sqlErrpBytes_ | back to summary |
|---|---|
| protected byte[] sqlErrpBytes_ | |
| sqlState_ | back to summary |
|---|---|
| protected String sqlState_ | |
| sqlStates_ | back to summary |
|---|---|
| private String[] sqlStates_ SQL states for all the messages in the exception chain. | |
| sqlWarn_ | back to summary |
|---|---|
| private String sqlWarn_ | |
| sqlWarnBytes_ | back to summary |
|---|---|
| protected byte[] sqlWarnBytes_ | |
| Sqlca | back to summary |
|---|---|
| protected Sqlca(ClientConnection connection) | |
| bytes2String | back to summary |
|---|---|
| protected String bytes2String(byte[] bytes, int offset, int length) | |
| chainDeferredExceptionsToAgentOrAsConnectionWarnings | back to summary |
|---|---|
| private void chainDeferredExceptionsToAgentOrAsConnectionWarnings(SqlException e) | |
| containsSqlcax | back to summary |
|---|---|
| public boolean containsSqlcax() | |
| formatSqlErrd | back to summary |
|---|---|
| pack-priv String formatSqlErrd() | |
| getArgs | back to summary |
|---|---|
| public Object[] getArgs(int messageNumber) | |
| getDataTruncation | back to summary |
|---|---|
| pack-priv DataTruncation getDataTruncation() Get a
| |
| getErrorCode | back to summary |
|---|---|
| public synchronized int getErrorCode() Get the error code based on the SQL code received from the server. The conversion from SQL code to error code happens like this:
| |
| getJDBCMessage | back to summary |
|---|---|
| pack-priv synchronized String getJDBCMessage(int messageNumber) | |
| getMessage | back to summary |
|---|---|
| private String getMessage(int messageNumber) throws SqlException | |
| getRowCount | back to summary |
|---|---|
| public long getRowCount() throws DisconnectException | |
| getRowsetRowCount | back to summary |
|---|---|
| public long getRowsetRowCount() | |
| getSqlCode | back to summary |
|---|---|
| public synchronized int getSqlCode() | |
| getSqlErrd | back to summary |
|---|---|
| private int[] getSqlErrd() | |
| getSqlErrmc | back to summary |
|---|---|
| public synchronized String getSqlErrmc() | |
| getSqlErrp | back to summary |
|---|---|
| public synchronized String getSqlErrp() | |
| getSqlState | back to summary |
|---|---|
| public synchronized String getSqlState() | |
| getSqlState | back to summary |
|---|---|
| pack-priv synchronized String getSqlState(int messageNumber) Get the SQL state for a given error.
| |
| getSqlWarn | back to summary |
|---|---|
| public synchronized String getSqlWarn() | |
| getUnformattedMessage | back to summary |
|---|---|
| private String getUnformattedMessage(int messageNumber) Get the unformatted message text (in case we cannot ask the server).
| |
| getUpdateCount | back to summary |
|---|---|
| public long getUpdateCount() | |
| initSqlErrmcMessages | back to summary |
|---|---|
| private void initSqlErrmcMessages() Initialize and build the arrays | |
| numberOfMessages | back to summary |
|---|---|
| pack-priv synchronized int numberOfMessages() Returns the number of messages this SQLCA contains.
| |
| processSqlErrmcTokens | back to summary |
|---|---|
| private void processSqlErrmcTokens(byte[] tokenBytes) | |
| resetRowsetSqlca | back to summary |
|---|---|
| public void resetRowsetSqlca(ClientConnection connection, int sqlCode, String sqlState) | |
| returnTokensOnlyInMessageText | back to summary |
|---|---|
| pack-priv void returnTokensOnlyInMessageText(boolean returnTokensOnlyInMessageText) | |
| setContainsSqlcax | back to summary |
|---|---|
| public void setContainsSqlcax(boolean containsSqlcax) | |
| setRowsetRowCount | back to summary |
|---|---|
| public void setRowsetRowCount(long rowCount) | |