Interview Question
Qus: How do I throw an exception when using a try-catch block ?
Answers (1)
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.