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                 // Prepare the message
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                 // Set extra data
00042                 $this->setExtraData($msgArray[0]->getClassName().":".$this->getLine());
00043 
00044                 // Call parent contructor with message
00045                 parent::__construct($message, $code);
00046         }
00047 }
00048 
00049 // [EOF]
00050 ?>

Generated on Mon Dec 8 01:06:44 2008 for Ship-Simulator by  doxygen 1.5.6