protected function _checkConnected() { if (self::STATE_DISCONNECTED == $this->_state) { throw new Exception\NotConnected(); } }