do something with the exception details