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
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
00042 parent::__construct($message, $code);
00043 }
00044 }
00045
00046
00047 ?>