There is an interesting post over here about this, in relation to cross-application flow of control.
Well, recently, I\'ve come across an interesting problem. Gener
Why not just return the resulting value? If it returns anything at all, assume it is successful. If it fails to return a value, then it means the loop failed.
If you must bring back from a failure, then I'd recommend you throw an exception.