|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.sql.SQLException
java.sql.BatchUpdateException
net.sourceforge.jdbcimporter.util.MultipleBatchUpdateException
The MultipleBatchUpdateException is used to combine multiple SQLExceptions into one exception.
Constructor Summary | |
MultipleBatchUpdateException(int[] rowStates)
Creates the exception with the given row states. |
Method Summary | |
java.sql.SQLException[] |
getNextExceptions()
Returns the SQLExceptions that occurred when the executeBatch method was called. |
void |
setNextExceptions(java.sql.SQLException[] exceptions)
Sets the SQLExceptions that caused the batch update exception. |
Methods inherited from class java.sql.BatchUpdateException |
getUpdateCounts |
Methods inherited from class java.sql.SQLException |
getErrorCode, getNextException, getSQLState, setNextException |
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 |
public MultipleBatchUpdateException(int[] rowStates)
rowStates
- the row statesMethod Detail |
public void setNextExceptions(java.sql.SQLException[] exceptions)
exceptions
- the SQLExceptionspublic java.sql.SQLException[] getNextExceptions()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |