00001 <?php 00018 class axForwardException extends LogicException { 00019 00024 protected $_controller; 00025 00030 protected $_action; 00031 00037 public function __construct ($controller, $action = 'index') { 00038 parent::__construct("Forward action to $controller::$action"); 00039 $this->_controller = $controller; 00040 $this->_action = $action; 00041 } 00042 00047 public function getController () { 00048 return $this->_controller; 00049 } 00050 00055 public function getAction () { 00056 return $this->_action; 00057 } 00058 }