PIM-2261 : fix typo in LogicException