3 // An exception class for lost classes... ;-)
4 class GetterNotFoundException extends FrameworkException {
8 * @param $message Message from the exception
9 * @param $code Code number for the exception
12 public final function __construct ($dataArray, $code) {
14 $dataArray = (array) $dataArray;
16 // Add a message around the missing class
17 $message = sprintf("[%s:%d] Getter-Methode für Attribut <u>%s</u> nicht gefunden.",
18 $dataArray[0]->__toString(),
23 // Call parent constructor
24 parent::__construct($message, $code);