com.simba.dsi.exceptions
Class DSIException

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.DSIException
All Implemented Interfaces:
java.io.Serializable

public class DSIException
extends com.simba.support.exceptions.ErrorException

The base class for exceptions which can be thrown from customer classes derived from the DSI Core or DataEngine interfaces.

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
DSIException(com.simba.support.exceptions.DiagState diagState, java.lang.String msgKey)
          Constructor.
DSIException(com.simba.support.exceptions.DiagState diagState, java.lang.String message, int nativeErrorCode)
          Constructor.
DSIException(com.simba.support.exceptions.DiagState diagState, java.lang.String msgKey, int rowNumber, int columnNumber)
          Constructor.
DSIException(com.simba.support.exceptions.DiagState diagState, java.lang.String message, int nativeErrorCode, int rowNumber, int columnNumber)
          Constructor.
DSIException(com.simba.support.exceptions.DiagState diagState, java.lang.String message, int nativeErrorCode, int rowNumber, int columnNumber, java.lang.Throwable cause)
          Constructor.
DSIException(com.simba.support.exceptions.DiagState diagState, java.lang.String msgKey, int rowNumber, int columnNumber, java.lang.Throwable cause)
          Constructor.
DSIException(com.simba.support.exceptions.DiagState diagState, java.lang.String message, int nativeErrorCode, java.lang.Throwable cause)
          Constructor.
DSIException(com.simba.support.exceptions.DiagState diagState, java.lang.String msgKey, java.lang.String[] msgParams)
          Constructor.
DSIException(com.simba.support.exceptions.DiagState diagState, java.lang.String msgKey, java.lang.String[] msgParams, int rowNumber, int columnNumber)
          Constructor.
DSIException(com.simba.support.exceptions.DiagState diagState, java.lang.String msgKey, java.lang.String[] msgParams, int rowNumber, int columnNumber, java.lang.Throwable cause)
          Constructor.
DSIException(com.simba.support.exceptions.DiagState diagState, java.lang.String msgKey, java.lang.String[] msgParams, java.lang.Throwable cause)
          Constructor.
DSIException(com.simba.support.exceptions.DiagState diagState, java.lang.String msgKey, java.lang.Throwable cause)
          Constructor.
DSIException(java.lang.String customState, java.lang.String msgKey)
          Constructor.
DSIException(java.lang.String customState, java.lang.String message, int nativeErrorCode)
          Constructor.
DSIException(java.lang.String customState, java.lang.String msgKey, int rowNumber, int columnNumber)
          Constructor.
DSIException(java.lang.String customState, java.lang.String message, int nativeErrorCode, int rowNumber, int columnNumber)
          Constructor.
DSIException(java.lang.String customState, java.lang.String message, int nativeErrorCode, int rowNumber, int columnNumber, java.lang.Throwable cause)
          Constructor.
DSIException(java.lang.String customState, java.lang.String msgKey, int rowNumber, int columnNumber, java.lang.Throwable cause)
          Constructor.
DSIException(java.lang.String customState, java.lang.String message, int nativeErrorCode, java.lang.Throwable cause)
          Constructor.
DSIException(java.lang.String customState, java.lang.String msgKey, java.lang.String[] msgParams)
          Constructor.
DSIException(java.lang.String customState, java.lang.String msgKey, java.lang.String[] msgParams, int rowNumber, int columnNumber)
          Constructor.
DSIException(java.lang.String customState, java.lang.String msgKey, java.lang.String[] msgParams, int rowNumber, int columnNumber, java.lang.Throwable cause)
          Constructor.
DSIException(java.lang.String customState, java.lang.String msgKey, java.lang.String[] msgParams, java.lang.Throwable cause)
          Constructor.
DSIException(java.lang.String customState, java.lang.String msgKey, java.lang.Throwable cause)
          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

DSIException

public DSIException(com.simba.support.exceptions.DiagState diagState,
                    java.lang.String msgKey)
Constructor.

Parameters:
diagState - Exception diagnostic state.
msgKey - The message key.

DSIException

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

A null message is saved as an empty string.

Parameters:
diagState - Exception diagnostic state.
message - Preformatted error message.
nativeErrorCode - The native error code for this error.

DSIException

public DSIException(com.simba.support.exceptions.DiagState diagState,
                    java.lang.String msgKey,
                    int rowNumber,
                    int columnNumber)
Constructor.

Parameters:
diagState - Exception diagnostic state.
msgKey - The message key.
rowNumber - Row or parameter set number, starts with 1.
columnNumber - Column or parameter number, starts with 1.

DSIException

public DSIException(com.simba.support.exceptions.DiagState diagState,
                    java.lang.String message,
                    int nativeErrorCode,
                    int rowNumber,
                    int columnNumber)
Constructor.

A null message is saved as an empty string.

Parameters:
diagState - Exception diagnostic state.
message - Preformatted error message.
nativeErrorCode - The native error code for this error.
rowNumber - Row or parameter set number, starts with 1.
columnNumber - Column or parameter number, starts with 1.

DSIException

public DSIException(com.simba.support.exceptions.DiagState diagState,
                    java.lang.String message,
                    int nativeErrorCode,
                    int rowNumber,
                    int columnNumber,
                    java.lang.Throwable cause)
Constructor.

A null message is saved as an empty string.

Parameters:
diagState - Exception diagnostic state.
message - Preformatted error message.
nativeErrorCode - The native error code for this error.
rowNumber - Row or parameter set number, starts with 1.
columnNumber - Column or parameter number, starts with 1.
cause - The exception which caused this exception to occur.

DSIException

public DSIException(com.simba.support.exceptions.DiagState diagState,
                    java.lang.String msgKey,
                    int rowNumber,
                    int columnNumber,
                    java.lang.Throwable cause)
Constructor.

Parameters:
diagState - Exception diagnostic state.
msgKey - The message key.
rowNumber - Row or parameter set number, starts with 1.
columnNumber - Column or parameter number, starts with 1.
cause - The exception which caused this exception to occur.

DSIException

public DSIException(com.simba.support.exceptions.DiagState diagState,
                    java.lang.String message,
                    int nativeErrorCode,
                    java.lang.Throwable cause)
Constructor.

A null message is saved as an empty string.

Parameters:
diagState - Exception diagnostic state.
message - Preformatted error message.
nativeErrorCode - The native error code for this error.
cause - The exception which caused this exception to occur.

DSIException

public DSIException(com.simba.support.exceptions.DiagState diagState,
                    java.lang.String msgKey,
                    java.lang.String[] msgParams)
Constructor.

Parameters:
diagState - Exception diagnostic state.
msgKey - The message key.
msgParams - The parameters (or tokens) used to construct the error message.

DSIException

public DSIException(com.simba.support.exceptions.DiagState diagState,
                    java.lang.String msgKey,
                    java.lang.String[] msgParams,
                    int rowNumber,
                    int columnNumber)
Constructor.

Parameters:
diagState - Exception diagnostic state.
msgKey - The message key.
msgParams - The parameters (or tokens) used to construct the error message.
rowNumber - Row or parameter set number, starts with 1.
columnNumber - Column or parameter number, starts with 1.

DSIException

public DSIException(com.simba.support.exceptions.DiagState diagState,
                    java.lang.String msgKey,
                    java.lang.String[] msgParams,
                    int rowNumber,
                    int columnNumber,
                    java.lang.Throwable cause)
Constructor.

Parameters:
diagState - Exception diagnostic state.
msgKey - The message key.
msgParams - The parameters (or tokens) used to construct the error message.
rowNumber - Row or parameter set number, starts with 1.
columnNumber - Column or parameter number, starts with 1.
cause - The exception which caused this exception to occur.

DSIException

public DSIException(com.simba.support.exceptions.DiagState diagState,
                    java.lang.String msgKey,
                    java.lang.String[] msgParams,
                    java.lang.Throwable cause)
Constructor.

Parameters:
diagState - Exception diagnostic state.
msgKey - The message key.
msgParams - The parameters (or tokens) used to construct the error message.
cause - The exception which caused this exception to occur.

DSIException

public DSIException(com.simba.support.exceptions.DiagState diagState,
                    java.lang.String msgKey,
                    java.lang.Throwable cause)
Constructor.

Parameters:
diagState - Exception diagnostic state.
msgKey - The message key.
cause - The exception which caused this exception to occur.

DSIException

public DSIException(java.lang.String customState,
                    java.lang.String msgKey)
Constructor.

Parameters:
customState - Custom exception diagnostic state.
msgKey - The message key.

DSIException

public DSIException(java.lang.String customState,
                    java.lang.String message,
                    int nativeErrorCode)
Constructor.

A null message is saved as an empty string.

Parameters:
customState - Exception diagnostic state.
message - Preformatted error message.
nativeErrorCode - The native error code for this error.

DSIException

public DSIException(java.lang.String customState,
                    java.lang.String msgKey,
                    int rowNumber,
                    int columnNumber)
Constructor.

Parameters:
customState - Custom exception diagnostic state.
msgKey - The message key.
rowNumber - Row or parameter set number, starts with 1.
columnNumber - Column or parameter number, starts with 1.

DSIException

public DSIException(java.lang.String customState,
                    java.lang.String message,
                    int nativeErrorCode,
                    int rowNumber,
                    int columnNumber)
Constructor.

A null message is saved as an empty string.

Parameters:
customState - Exception custom state.
message - Preformatted error message.
nativeErrorCode - The native error code for this error.
rowNumber - Row or parameter set number, starts with 1.
columnNumber - Column or parameter number, starts with 1.

DSIException

public DSIException(java.lang.String customState,
                    java.lang.String message,
                    int nativeErrorCode,
                    int rowNumber,
                    int columnNumber,
                    java.lang.Throwable cause)
Constructor.

A null message is saved as an empty string.

Parameters:
customState - Exception custom state.
message - Preformatted error message.
nativeErrorCode - The native error code for this error.
rowNumber - Row or parameter set number, starts with 1.
columnNumber - Column or parameter number, starts with 1.
cause - The exception which caused this exception to occur.

DSIException

public DSIException(java.lang.String customState,
                    java.lang.String msgKey,
                    int rowNumber,
                    int columnNumber,
                    java.lang.Throwable cause)
Constructor.

Parameters:
customState - Custom exception diagnostic state.
msgKey - The message key.
rowNumber - Row or parameter set number, starts with 1.
columnNumber - Column or parameter number, starts with 1.
cause - The exception which caused this exception to occur.

DSIException

public DSIException(java.lang.String customState,
                    java.lang.String message,
                    int nativeErrorCode,
                    java.lang.Throwable cause)
Constructor.

A null message is saved as an empty string.

Parameters:
customState - Exception custom state.
message - Preformatted error message.
nativeErrorCode - The native error code for this error.
cause - The exception which caused this exception to occur.

DSIException

public DSIException(java.lang.String customState,
                    java.lang.String msgKey,
                    java.lang.String[] msgParams)
Constructor.

Parameters:
customState - Custom exception diagnostic state.
msgKey - The message key.
msgParams - The parameters (or tokens) used to construct the error message.

DSIException

public DSIException(java.lang.String customState,
                    java.lang.String msgKey,
                    java.lang.String[] msgParams,
                    int rowNumber,
                    int columnNumber)
Constructor.

Parameters:
customState - Custom exception diagnostic state.
msgKey - The message key.
msgParams - The parameters (or tokens) used to construct the error message.
rowNumber - Row or parameter set number, starts with 1.
columnNumber - Column or parameter number, starts with 1.

DSIException

public DSIException(java.lang.String customState,
                    java.lang.String msgKey,
                    java.lang.String[] msgParams,
                    int rowNumber,
                    int columnNumber,
                    java.lang.Throwable cause)
Constructor.

Parameters:
customState - Custom exception diagnostic state.
msgKey - The message key.
msgParams - The parameters (or tokens) used to construct the error message.
rowNumber - Row or parameter set number, starts with 1.
columnNumber - Column or parameter number, starts with 1.
cause - The exception which caused this exception to occur.

DSIException

public DSIException(java.lang.String customState,
                    java.lang.String msgKey,
                    java.lang.String[] msgParams,
                    java.lang.Throwable cause)
Constructor.

Parameters:
customState - Custom exception diagnostic state.
msgKey - The message key.
msgParams - The parameters (or tokens) used to construct the error message.
cause - The exception which caused this exception to occur.

DSIException

public DSIException(java.lang.String customState,
                    java.lang.String msgKey,
                    java.lang.Throwable cause)
Constructor.

Parameters:
customState - Custom exception diagnostic state.
msgKey - The message key.
cause - The exception which caused this exception to occur.


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