3 // Unsere eigene Exception!
4 class DimNotFoundInArrayException extends FrameworkException {
8 * @param $message Message from the exception
9 * @param $code Code number for the exception
12 public final function __construct ($class, $code) {
13 if (is_object($class)) {
14 // Add a message around the missing class
15 $message = sprintf("[%s:%d] Abmasse konnten nicht extrahiert werden!",
21 $message = sprintf("Please provide a class for <u>%s</u>", __CLASS__);
24 // Call parent constructor
25 parent::__construct($message, $code);