Added exception handling example