3 // An exception class for lost classes... ;-)
4 class SavePathWriteProtectedException extends FrameworkException {
8 * @param $message Message from the exception
9 * @param $code Code number for the exception
12 public final function __construct ($path, $code) {
13 // Add a message around the missing class
14 $message = sprintf("Der angegebene Speicherpfad <u>%s</u> ist schreibgeschützt. Bitte Zugriffsrechte (CHMOD) entsprechend setzen.", $path);
16 // Call parent constructor
17 parent::__construct($message, $code);