Change try..catch usage.