Handle of all exceptions.