Listing 8.6. Fragment pliku ErrorController.php
case Zend_Controller_Plugin_ErrorHandler::EXCEPTION_NO_ACTION:
    // 404 error -- controller or action not found
    $this->getResponse()->setHttpResponseCode(404);
    $priority = Zend_Log::NOTICE;
    $this->view->message = 'Strona o podanym adresie nie istnieje!';
    $this->view->tytul = 'Błędny adres!';
    break;