]> git.mxchange.org Git - shipsimu.git/blob - ship-simu/inc/classes/exceptions/database/local_file/class_SavePathReadProtectedException.php
Initial import of current development status
[shipsimu.git] / ship-simu / inc / classes / exceptions / database / local_file / class_SavePathReadProtectedException.php
1 <?php
2
3 // An exception class for lost classes... ;-)
4 class SavePathReadProtectedException extends FrameworkException {
5         /**
6          * The constructor
7          *
8          * @param               $message                Message from the exception
9          * @param               $code           Code number for the exception
10          * @return      void
11          */
12         public final function __construct ($path, $code) {
13                 // Add a message around the missing class
14                 $message = sprintf("Der Pfad <u>%s</u> ist lese-gesch&uuml;tzt. Bitte Zugriffsrechte (CHMOD) zum Lesen setzen.", $path);
15
16                 // Call parent constructor
17                 parent::__construct($message, $code);
18         }
19 }
20
21 // [EOF]
22 ?>