3 // An exception class for lost classes... ;-)
4 class BirthdayInvalidException extends FrameworkException {
5 public function __construct ($birthArray, $code) {
7 $birthArray = (array) $birthArray;
9 // Add a message around the missing class
10 $message = sprintf("Das Geburtsdatum <u>%s</u> ist leider falsch.",
19 // Call parent constructor
20 parent::__construct($message, $code);