class_InvalidActionException.php

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

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