]> git.mxchange.org Git - mailer.git/blob - inc/classes/exceptions/database/local_file/class_SavePathIsEmptyException.php
6d9c9c29d96ab7720fa6d0c194da1d3f22155062
[mailer.git] / inc / classes / exceptions / database / local_file / class_SavePathIsEmptyException.php
1 <?php
2
3 // An exception class for lost classes... ;-)
4 class SavePathIsEmptyException 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 ($class, $code) {
13                 // Add a message around the missing class
14                 $message = sprintf("[%s:%d] Der Speicherpfad ist leer.",
15                         $class->__toString(),
16                         $this->getLine()
17                 );
18
19                 // Call parent constructor
20                 parent::__construct($message, $code);
21         }
22 }
23
24 // [EOF]
25 ?>