00001 <?php 00026 require_once 'Zend/Exception.php'; 00027 00028 00037 class Zend_View_Exception extends Zend_Exception 00038 { 00039 protected $view = null; 00040 00041 public function __construct($message, Zend_View_Interface $view = null) 00042 { 00043 $this->view = $view; 00044 parent::__construct($message); 00045 } 00046 00047 public function getView() 00048 { 00049 return $this->view; 00050 } 00051 }