IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

com.ibm.btt.services.jdbc
Class DSESQLException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.ibm.btt.base.DSERuntimeException
                  extended by com.ibm.btt.services.jdbc.DSESQLException
All Implemented Interfaces:
java.io.Serializable

public class DSESQLException
extends DSERuntimeException

The DSESQLException class identifies the exception that is thrown when an SQLException is returned by the code that provides the JDBC interface with the ability to access a database.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.ibm.btt.base.DSERuntimeException
critical, harmless
 
Constructor Summary
DSESQLException(java.lang.String aSeverity, java.lang.String aCode, int anErrorCode, java.lang.String aSQLState, java.lang.String aMessage)
          This is the DSESQLException class constructor.
 
Method Summary
 int getErrorCode()
          Returns the SQL Error Code
 java.lang.String getSQLState()
          Returns the SQL State
 void setErrorCode(int anErrorCode)
          Sets the SQL Error Code
 void setSQLState(java.lang.String aSQLState)
          Sets the SQL State
 
Methods inherited from class com.ibm.btt.base.DSERuntimeException
getClassName, getCode, getMethodName, getSeverity, setClassName, setCode, setMethodName, setSeverity
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, 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

DSESQLException

public DSESQLException(java.lang.String aSeverity,
                       java.lang.String aCode,
                       int anErrorCode,
                       java.lang.String aSQLState,
                       java.lang.String aMessage)
This is the DSESQLException class constructor.

Parameters:
aSeverity - java.lang.String - the severity of the Exception
aCode - java.lang.String - the code of the Exception
anErrorCode - int - the SQL Error Code as returned by the SQLException
aSQLState - java.lang.String - the SQL State as returned by the SQLException
aMessage - java.lang.String - the Exception message
Method Detail

getErrorCode

public int getErrorCode()
Returns the SQL Error Code

Returns:
int

getSQLState

public java.lang.String getSQLState()
Returns the SQL State

Returns:
java.lang.String

setErrorCode

public void setErrorCode(int anErrorCode)
Sets the SQL Error Code

Parameters:
int -

setSQLState

public void setSQLState(java.lang.String aSQLState)
Sets the SQL State

Parameters:
java.lang.String -

IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2011