fix abstract exception handler