Added example for exceptions