3 // An exception class for lost classes... ;-)
4 class NoObjectException extends FrameworkException {
8 * @param $message Message from the exception
9 * @param $code Code number for the exception
12 public final function __construct ($string, $code) {
13 // Add a message around the missing class
14 $message = sprintf("<u>%s</u> ist kein Objekt!",
18 // Call parent constructor
19 parent::__construct($message, $code);