Autotrader interview question

How do you handle exceptions in Java?