W
wildThought
I want to be able to catch an exception and KEEP PROCESSING with in
the try block. In my application, I may receive bad data in a
particular file line and want to keep processing the rest of the
file.
Is this possible?
try
{
while (engine.ReadNext() != null)
{
tmpCnt++;
record =
(LoanPerformance.Master)engine.LastRecord;
allData.Add(record);
// Your Code Here
}
}
catch(SomeException)
{
//Custom Exception Code
//How can I handle the exception so that the next
loop will iterate??????
}
the try block. In my application, I may receive bad data in a
particular file line and want to keep processing the rest of the
file.
Is this possible?
try
{
while (engine.ReadNext() != null)
{
tmpCnt++;
record =
(LoanPerformance.Master)engine.LastRecord;
allData.Add(record);
// Your Code Here
}
}
catch(SomeException)
{
//Custom Exception Code
//How can I handle the exception so that the next
loop will iterate??????
}