3 // An exception class for lost classes... ;-)
4 class MismatchingCompressorsException extends FrameworkException {
8 * @param $message Message from the exception
9 * @param $code Code number for the exception
12 public final function __construct ($array, $code) {
14 $array = (array) $array;
16 // Add a message around the missing class
17 $message = sprintf("[%s:%d] Der Kompressor <u>%s</u> zu den geladenen Daten aus <u>%s</u> und der aktuell verwendete Kompressor <u>%s</u> stimmen nicht überein!",
18 $array[0]->__toString(),
20 strtoupper($array[1]),
22 basename(dirname($array[2])),
28 // Call parent constructor
29 parent::__construct($message, $code);