Added example about exception handling and removed unused usings