add logic exception