Use Throwable here instead of only Exception.