an event doest not helps too much.. and the flow of the program get's changed...

I mean... I need to detect the error immediatelly after the execution (next line) to do different things.. and also the event could be triggered by anywhere else in the program..

but appreciate your thoughts... thanks !