com.ibm.pdq.runtime.exception
Class HeteroBatchSQLException
- java.lang.Object
java.lang.Throwable
java.lang.Exception
java.sql.SQLException
com.ibm.pdq.runtime.exception.HeteroBatchSQLException
All implemented interfaces:
public class HeteroBatchSQLException extends SQLException implements com.ibm.db2.jcc.DB2Diagnosable
See Also:
Constructor Summary
| Constructor and Description |
|---|
HeteroBatchSQLException()
|
HeteroBatchSQLException(SQLException sqlExceptionToBeWrapped,int originalOffsetInChain)
|
Method Summary
| Modifier and Type | Method and Description |
|---|---|
fillInStackTrace()
|
|
|
getBatchElementOffset()
|
|
getBindDiagnostics()
|
getCause()
|
|
|
getErrorCode()
|
getLocalizedMessage()
|
|
getMessage()
|
|
getNextException()
|
|
getNextHeteroBatchSQLException()
|
|
|
getOriginalOffsetInChain()
|
|
getSqlca()
|
getSQLState()
|
|
getStackTrace()
|
|
|
getStmtOffset()
|
getThrowable()
|
|
getUnderlyingSQLException()
|
|
|
implementsDB2Diagnosable()
|
initCause(Throwable throwable)
|
|
|
isRowSpecificSQLException()
|
|
printStackTrace()
|
|
printStackTrace(PrintStream err)
|
|
printStackTrace(PrintWriter err)
|
|
printTrace(PrintWriter printWriter,String messageHeader)
|
|
setNextException(SQLException ex)
|
|
setNextHeteroBatchSQLException(HeteroBatchSQLException ex)
|
|
setStackTrace(StackTraceElement[] trace)
|
toString()
|
| Methods inherited from class java.sql.SQLException |
|---|
iterator |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail
HeteroBatchSQLException
public HeteroBatchSQLException( )
HeteroBatchSQLException
public HeteroBatchSQLException( SQLException sqlExceptionToBeWrapped, int originalOffsetInChain)
Parameters:
originalOffsetInChain - The position of the underlying SQLException in the chain of SQLException. The position is a zero based offset. Method Detail
fillInStackTrace
public Throwable fillInStackTrace( )
Overrides:
fillInStackTrace in class Throwable
getBatchElementOffset
public int getBatchElementOffset( )
getBindDiagnostics
public com.ibm.db2.jcc.DBBindDiagnostics getBindDiagnostics( )
Specified by:
getBindDiagnostics in interface com.ibm.db2.jcc.DB2Diagnosable
getCause
public Throwable getCause()
getErrorCode
public int getErrorCode()
Overrides:
getErrorCode in class SQLException
getLocalizedMessage
public String getLocalizedMessage( )
Overrides:
getLocalizedMessage in class Throwable
getMessage
public String getMessage()
Overrides:
getMessage in class Throwable
getNextException
public SQLException getNextException( )
Overrides:
getNextException in class SQLException
getNextHeteroBatchSQLException
public HeteroBatchSQLException getNextHeteroBatchSQLException( )
getOriginalOffsetInChain
public int getOriginalOffsetInChain( )
Returns:
the originalOffsetInChain
getSqlca
public com.ibm.db2.jcc.DB2Sqlca getSqlca( )
Specified by:
getSqlca in interface com.ibm.db2.jcc.DB2Diagnosable
getSQLState
public String getSQLState()
Overrides:
getSQLState in class SQLException
getStackTrace
public StackTraceElement[] getStackTrace( )
Overrides:
getStackTrace in class Throwable
getStmtOffset
public int getStmtOffset()
getThrowable
public Throwable getThrowable()
Specified by:
getThrowable in interface com.ibm.db2.jcc.DB2Diagnosable
getUnderlyingSQLException
public SQLException getUnderlyingSQLException( )
implementsDB2Diagnosable
public boolean implementsDB2Diagnosable( )
initCause
public Throwable initCause(Throwable throwable)
isRowSpecificSQLException
public boolean isRowSpecificSQLException( )
printStackTrace
public void printStackTrace()
Overrides:
printStackTrace in class Throwable
printStackTrace
public void printStackTrace(PrintStream err)
Overrides:
printStackTrace in class Throwable
printStackTrace
public void printStackTrace(PrintWriter err)
Overrides:
printStackTrace in class Throwable
printTrace
public void printTrace(PrintWriter printWriter, String messageHeader)
Specified by:
printTrace in interface com.ibm.db2.jcc.DB2Diagnosable
setNextException
public void setNextException(SQLException ex)
Overrides:
setNextException in class SQLException
setNextHeteroBatchSQLException
public void setNextHeteroBatchSQLException( HeteroBatchSQLException ex)
setStackTrace
public void setStackTrace(StackTraceElement[] trace)
Overrides:
setStackTrace in class Throwable
toString
public String toString()