UnexpectedValueException -> LogicException

BC maintenance.