how to use exceptions in this scenario?

Posted by jess on Stack Overflow See other posts from Stack Overflow or by jess
Published on 2010-04-13T10:52:32Z Indexed on 2010/04/13 11:03 UTC
Read the original article Hit count: 210

Filed under:

Hi,

I have a method which handles a set of records.This method,return true\false after processing.So,if all the records are processed(doing some db updates),will return true.Now,suppose after processing 1 record,some exception is thrown,should I write result=false(at the end of method result is returned) in catch block? And,allow processing of other records to be done?

© Stack Overflow or respective owner

Related posts about c#3.0