public function setHeightUnit($heightUnit)
    {
        if (!is_string($heightUnit) && ($heightUnit !== null)) {
            throw BaseException::invalidSizeHeightUnit();
        }

        $this->heightUnit = $heightUnit;
    }