Optimized translation of patterns in case of 'catch' blocks.