[ticket/12826] Add root namespace indicator to exception catching.

https://tracker.phpbb.com/browse/PHPBB3-12826