E2open interview question

What are exceptions and how do you handle them in java?