Fetch correct exception.