Added support for nested exceptions happening inside a catch block.