I recently came across some code and I am hope someone will tell if the logic behind it is correct.
The code is summarised as follows:
What happens if the method, creates an instance of myThread, returns result, and then myThread throws a RuntimeException? Will that RuntimeException be caught by the surrounding try/catch and then throw a new instance of MyException?
Thanks for replies