422a22ff0a94968cfe6e1e4fd67200b9b64f6af7
[mailer.git] / inc / classes / exceptions / io / class_FilePointerNotOpenedException.php
1 <?php
2
3 // An exception class for lost classes... ;-)
4 class FilePointerNotOpenedException 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("F&uuml;r die Datei <u>%s</u> konnte kein Pointer initialisiert werden. M&ouml;glicherweise ist die Datei nicht lesbar oder fehlt!", $path);
15
16                 // Call parent constructor
17                 parent::__construct($message, $code);
18         }
19 }
20
21 // [EOF]
22 ?>