class_MismatchingCompressorsException.php

Go to the documentation of this file.
00001 <?php
00024 class MismatchingCompressorsException extends FrameworkException {
00032         public function __construct (array $array, $code) {
00033                 // Add a message around the missing class
00034                 $message = sprintf("[%s:%d] Der Kompressor <span class=\"exception_reason\">%s</span> zu den geladenen Daten aus <span class=\"exception_reason\">%s</span> und der aktuell verwendete Kompressor <span class=\"exception_reason\">%s</span> stimmen nicht &uuml;berein!",
00035                         $array[0]->__toString(),
00036                         $this->getLine(),
00037                         strtoupper($array[1]),
00038                         sprintf("%s:%s",
00039                                 basename(dirname($array[2])),
00040                                 basename($array[2])
00041                         ),
00042                         strtoupper($array[3])
00043                 );
00044 
00045                 // Call parent constructor
00046                 parent::__construct($message, $code);
00047         }
00048 }
00049 
00050 // [EOF]
00051 ?>

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