protected function _actionRead(Library\CommandContext $context) { $name = ucfirst($this->getView()->getName()); if (!$this->getModel()->getState()->isUnique()) { throw new Library\ControllerExceptionNotFound($name . ' Not Found'); } return parent::_actionRead($context); }