exception handling when exception template is missing