I have a function (onOk) which calls another function "CommotChanges()" which inturn call another two function. what i need is whenever there is an error in createFolder() function, I want to come out of the "createFolder()" and make sure that the next fucntion (createCustom()) is not called. I want to make sure i roll back the transaction on error. how can i do that please sugggest
Throwing exceptions only stops programs if nothing above them in the call stack can handle the exception (and if the current thread is the only active non-daemon thread).