J
Joe Rigley
Hello,
As a .NET newbie I'd appreciate some advice... I've been tasked with
writing a small app (in VB .NET) that takes some data from our HR system,
does some format modifications, and loads that into Active Directory.
For error handling of this app, I was considering having the app process
each employee one at a time. If an error occurs, I was thinking that the
system would handle the error with a Try/Catch, send the error details to me
in an email and then attempt to continue processing the next employee. If
more than 3 errors occur within a single run of the job, it would send
another email stating a max number of errors has occurred and then terminate
the app via code.
Based on that info I have 2 questions: 1. Is this a good design for an app
like this? 2. If the design is reasonable, how do I get the Try / Catch
code to resume processing?
All advice is welcomed.
Thanks,
-Joe
As a .NET newbie I'd appreciate some advice... I've been tasked with
writing a small app (in VB .NET) that takes some data from our HR system,
does some format modifications, and loads that into Active Directory.
For error handling of this app, I was considering having the app process
each employee one at a time. If an error occurs, I was thinking that the
system would handle the error with a Try/Catch, send the error details to me
in an email and then attempt to continue processing the next employee. If
more than 3 errors occur within a single run of the job, it would send
another email stating a max number of errors has occurred and then terminate
the app via code.
Based on that info I have 2 questions: 1. Is this a good design for an app
like this? 2. If the design is reasonable, how do I get the Try / Catch
code to resume processing?
All advice is welcomed.
Thanks,
-Joe