Adding configuration handling for the catch exceptions directive