class_ClassMismatchException.php

Go to the documentation of this file.
00001 <?php
00024 class ClassMismatchException extends FrameworkException {
00032         public function __construct (array $classArray, $code) {
00033                 // Add a message around the missing class
00034                 $message = sprintf("The class <span class=\"exception_reason\">%s</span> does not match class <span class=\"exception_reason\">%s</span>.",
00035                         $classArray[0],
00036                         $classArray[1]
00037                 );
00038 
00039                 // Call parent constructor
00040                 parent::__construct($message, $code);
00041         }
00042 }
00043 
00044 // [EOF]
00045 ?>

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