Skip Headers
Oracle® C++ Call Interface Programmer's Guide,
11g Release 1 (11.1)

Part Number B28390-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Master Index
Master Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
View PDF

BatchSQLException Class

The BatchSQLException class provides methods for handling batch processing errors. Because BatchSQLException class is derived from the SQLException Class, all BatchSQLException instances support all methods of SQLException, in addition to the methods summarized in Table 13-6.

Table 13-6 Summary of BatchSQLException Methods

Method Summary

getException()


Returns the exception.

getFailedRowCount()


Returns the number of rows with failed inserts or updates.

getRowNum()


Returns the number of the row that has an insert or updated error



getException()

Returns the exception that matches the specified index.

Syntax

SQLException getSQLException (
   unsigned int index) const;
Parameter Description
index
The index into the list of errors returned by the batch process.


getFailedRowCount()

Returns the number of rows for which the statement insert or update failed.

Syntax

unsigned int getFailedRowCount( ) const;

getRowNum()

Returns the number of the row with an error, matching the specified index.

Syntax

unsigned int getRowNum(
   unsigned int index) const;
Parameter Description
index
The index into the list of errors returned by the batch process.