Navi Interview Question

How are exceptions handled in a testing framework