class_XmlNodeMismatchException.php

Go to the documentation of this file.
00001 <?php
00024 class XmlNodeMismatchException extends FrameworkException {
00032         public function __construct (array $classArray, $code) {
00033                 // Construct our message
00034                 $message = sprintf("[%s:%d] XML nodes mismatch. Given: %s, Expected: %s",
00035                         $classArray[0]->__toString(),
00036                         $this->getLine(),
00037                         $classArray[1],
00038                         $classArray[2]
00039                 );
00040 
00041                 // Call parent exception constructor
00042                 parent::__construct($message, $code);
00043         }
00044 }
00045 
00046 // [EOF]
00047 ?>

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