added ability to specify a custom job exception handler