Wipro Interview Question

How to handle exception in spring?