Conditionally convert exceptions rather than explicitly.