class_InvalidControllerException.php
Go to the documentation of this file.00001 <?php
00024 class InvalidControllerException extends FrameworkException {
00032 public function __construct(array $msgArray, $code) {
00033
00034 $message = sprintf("[%s:%d] Cannot resolve controller <span class=\"exception_reason\">%s (class name: %s)</span>.",
00035 $msgArray[0]->__toString(),
00036 $this->getLine(),
00037 $msgArray[1],
00038 $msgArray[0]->getClassName()
00039 );
00040
00041
00042 $this->setExtraData($msgArray[0]->getClassName().":".$this->getLine());
00043
00044
00045 parent::__construct($message, $code);
00046 }
00047 }
00048
00049
00050 ?>