java.lang.Object
java.lang.Throwable
java.lang.Exception
java.sql.SQLException
java.sql.BatchUpdateException
- All Implemented Interfaces:
- Serializable
- See Also:
- Top Examples, Source Code
public BatchUpdateException()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
[1223]Handling a SQL batch update exception
By Anonymous on 2004/12/23 14:41:46 Rate
// handling a batch update exception:
catch ( BatchUpdateException bue )
{
bError = true;
aiupdateCounts = bue.getUpdateCounts ( ) ;
SQLException SQLe = bue;
while ( SQLe != null )
{
// do exception stuff
SQLe = SQLe.getNextException ( ) ;
}
} // end BatchUpdateException catch
catch ( SQLException SQLe )
{
...
} // end SQLException catch
public BatchUpdateException(int[] updateCounts)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public BatchUpdateException(String reason,
int[] updateCounts)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public BatchUpdateException(String reason,
String SQLState,
int vendorCode,
int[] updateCounts)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public BatchUpdateException(String reason,
String SQLState,
int[] updateCounts)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public int[] getUpdateCounts()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples