com.simba.dsi.exceptions
Class ExecutingException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.simba.support.exceptions.ErrorException
              extended by com.simba.dsi.exceptions.ExecutingException
All Implemented Interfaces:
java.io.Serializable

public final class ExecutingException
extends com.simba.support.exceptions.ErrorException

An exception thrown when there is an error executing a query.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.simba.support.exceptions.ErrorException
COMMUNICATIONS_ERROR, DSI_COMPONENT_NAME, DSI_ERROR, DSI_ERROR_MESSAGES, JDBC_COMPONENT_NAME, JDBC_ERROR, JDBC_ERROR_MESSAGES, JDBCClient_ERROR_MESSAGES, m_columnNumber, m_rowNumber, MESSAGES_COMPONENT_NAME, MESSAGES_ERROR, SQLENGINE_COMPONENT_NAME, SQLENGINE_ERROR, SQLENGINE_ERROR_MESSAGES, SUPPORT_CHANNELS, SUPPORT_CHANNELS_ERROR_MESSAGES, SUPPORT_CHANNELS_NAME
 
Constructor Summary
ExecutingException(com.simba.support.exceptions.DiagState subcode, int componentId, java.lang.String msgKey)
          Constructor.
ExecutingException(com.simba.support.exceptions.DiagState subcode, int componentId, java.lang.String msgKey, int paramSetNumber, int paramNumber)
          Constructor.
ExecutingException(com.simba.support.exceptions.DiagState subcode, int componentId, java.lang.String msgKey, java.lang.String[] msgParams)
          Constructor.
ExecutingException(com.simba.support.exceptions.DiagState subcode, int componentId, java.lang.String msgKey, java.lang.String[] msgParams, int paramSetNumber, int paramNumber)
          Constructor.
ExecutingException(com.simba.support.exceptions.DiagState subcode, java.lang.String message, int nativeErrorCode)
          Constructor.
ExecutingException(com.simba.support.exceptions.DiagState subcode, java.lang.String message, int nativeErrorCode, int paramSetNumber, int paramNumber)
          Constructor.
 
Method Summary
 
Methods inherited from class com.simba.support.exceptions.ErrorException
getColumnNumber, getCustomState, getDiagState, getLocalizedMessage, getMessage, getMessage, getMessageKeyOrText, getMessageParams, getNativeErrorCode, getRowNumber, hasCustomState, hasMessageParams, hasPreformattedMessage, loadMessage, loadMessage
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExecutingException

public ExecutingException(com.simba.support.exceptions.DiagState subcode,
                          int componentId,
                          java.lang.String msgKey)
Constructor.

Parameter set and parameter numbers are given default values of ROW_NUMBER_UNKNOWN and COLUMN_NUMBER_UNKNOWN respectively.

Parameters:
subcode - Executing error subcode.
componentId - The component ID.
msgKey - The message key.

ExecutingException

public ExecutingException(com.simba.support.exceptions.DiagState subcode,
                          java.lang.String message,
                          int nativeErrorCode)
Constructor.

A null message is saved as an empty string.

Parameter set and parameter numbers are given default values of ROW_NUMBER_UNKNOWN and COLUMN_NUMBER_UNKNOWN respectively.

Parameters:
subcode - Executing error subcode.
message - Preformatted error message.
nativeErrorCode - The native error code for this error.

ExecutingException

public ExecutingException(com.simba.support.exceptions.DiagState subcode,
                          int componentId,
                          java.lang.String msgKey,
                          int paramSetNumber,
                          int paramNumber)
Constructor.

Parameter and parameter set numbering should start with 1. The "first parameter" and "first parameter set" each have index 1. NO_COLUMN_NUMBER and COLUMN_NUMBER_UNKNOWN may also be used for the parameter number. NO_ROW_NUMBER and ROW_NUMBER_UNKNOWN may also be used for the parameter set number.

Parameters:
subcode - Executing error subcode.
componentId - The component ID.
msgKey - The message key.
paramSetNumber - Parameter set number starting with 1, NO_ROW_NUMBER, or ROW_NUMBER_UNKNOWN.
paramNumber - Parameter number starting with 1, NO_COLUMN_NUMBER, or COLUMN_NUMBER_UNKNOWN.

ExecutingException

public ExecutingException(com.simba.support.exceptions.DiagState subcode,
                          java.lang.String message,
                          int nativeErrorCode,
                          int paramSetNumber,
                          int paramNumber)
Constructor.

A null message is saved as an empty string.

Parameter set and parameter numbers are given default values of ROW_NUMBER_UNKNOWN and COLUMN_NUMBER_UNKNOWN respectively.

Parameters:
subcode - Executing error subcode.
message - Preformatted error message.
nativeErrorCode - The native error code for this error.
paramSetNumber - Parameter set number starting with 1, NO_ROW_NUMBER, or ROW_NUMBER_UNKNOWN.
paramNumber - Parameter number starting with 1, NO_COLUMN_NUMBER, or COLUMN_NUMBER_UNKNOWN.

ExecutingException

public ExecutingException(com.simba.support.exceptions.DiagState subcode,
                          int componentId,
                          java.lang.String msgKey,
                          java.lang.String[] msgParams)
Constructor.

Parameter set and parameter numbers are given default values of ROW_NUMBER_UNKNOWN and COLUMN_NUMBER_UNKNOWN respectively.

Parameters:
subcode - Executing error subcode.
componentId - The component ID.
msgKey - The message key.
msgParams - The parameters (or tokens) used to construct the error message.

ExecutingException

public ExecutingException(com.simba.support.exceptions.DiagState subcode,
                          int componentId,
                          java.lang.String msgKey,
                          java.lang.String[] msgParams,
                          int paramSetNumber,
                          int paramNumber)
Constructor.

Parameter and parameter set numbering should start with 1. The "first parameter" and "first parameter set" each have index 1. NO_COLUMN_NUMBER and COLUMN_NUMBER_UNKNOWN may also be used for the parameter number. NO_ROW_NUMBER and ROW_NUMBER_UNKNOWN may also be used for the parameter set number.

Parameters:
subcode - Executing error subcode.
componentId - The component ID.
msgKey - The message key.
msgParams - The parameters (or tokens) used to construct the error message.
paramSetNumber - Parameter set number starting with 1, NO_ROW_NUMBER, or ROW_NUMBER_UNKNOWN.
paramNumber - Parameter number starting with 1, NO_COLUMN_NUMBER, or COLUMN_NUMBER_UNKNOWN.


Copyright © 2006-2014 Simba Technologies Incorporated. All Rights Reserved.