Hi all,
Need some advice. If I want to use Try and Catch, for execute a class, running a batch job class in code. how are we use the try and catch looks like ?
I mean what would be the Catch ? is the batch job succeeded or fail can be captured and determine that result (Fail or succeed) in the "Catch"? what would be the Exception should we use? and what if, when it is succeeded, if lets say this batch job class is call within a While.. select loop, and when succeeded, I want to update one field in the table that used by the While...select. is it still inside the Try ? or in Catch section ?
Thanks,