0.3.0 inital import
[mailer.git] / inc / classes / exceptions / main / class_ExceptionNotFoundException.php
1 <?php
2
3 // Unsere eigene Exception!
4 class ExceptionNotFoundException 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 (array $classArray, $code) {
13                 // Cast the array
14                 $classArray = (array) $classArray;
15
16                 // Add a message around the missing class
17                 $message = sprintf("[%s:%d] Exception <u>%s</u> nicht gefunden.",
18                         $classArray[0],
19                         $this->getLine(),
20                         $classArray[1]
21                 );
22
23                 // Call parent constructor
24                 parent::__construct($message, $code);
25         }
26 }
27
28 // [EOF]
29 ?>