DXC Technology interview question

How u handle ur exception