Qus:    How do I throw an exception when using a try-catch block ?
Apr 22, 2012 07:06 1 Answers Views: 2370 Tomas
Prev Next
Answers (1)
Tomas Apr 22, 2012 07:06
Answer:  

 


Set a flag in your catch block or leave a variable holding the error message in the pipeline.
Outside the catch block put a branch on that variable or flag and if it is non-null then exit with failure or call the service that generates the exception.


Post Your Answer
Guest User

Not sure what course is right for you?

Choose the right course for you.
Get the help of our experts and find a course that best suits your needs.


Let`s Connect