dench exception catching