Add Exception code and Logging 'EventLog' code.