finished exception handling logic