Change handled exception type