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
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 ü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
00046 parent::__construct($message, $code);
00047 }
00048 }
00049
00050
00051 ?>