You can set the error threshold for a session. In the Stop on Errors session property, enter the number of non-fatal errors the PowerCenter Integration Service can encounter before it fails the session.
The PowerCenter Integration Service counts the errors that occur when it converts data and resolves the referral entry when the Follow Referral property is set to Throw.
The session fails when the PowerCenter Integration Service extracts data from the source and the error count for the sum of the data conversion errors and other non-fatal errors reaches the error threshold.