re-throwing exception if error handling is disabled.