6e84bdb25ea5c07ef4ae70b856c73b2b0d2ee47f
[mailer.git] / inc / classes / exceptions / template / class_BasePathIsNoDirectoryException.php
1 <?php
2
3 // An exception class for lost classes... ;-)
4 class BasePathIsNoDirectoryException extends FrameworkException {
5         /**
6          * The constructor
7          *
8          * @param               $class          An array holding our informations
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 Template-Basispfad <u>%s</u> existiert nicht oder ist eine Datei!",
15                         $class[0]->__toString(),
16                         $this->getLine(),
17                         $class[1]
18                 );
19
20                 // Call parent constructor
21                 parent::__construct($message, $code);
22         }
23 }
24
25 // [EOF]
26 ?>