private function _checkSetup() { if ($this->_factory === null) { throw new Components_Exception('You need to set the factory first!'); } }