dbe5e7f8b17bc1460a8866ea835d6b5fbb6b6b6b
[mailer.git] / inc / classes / exceptions / main / class_NoArrayException.php
1 <?php
2
3 // An exception class for lost classes... ;-)
4 class NoArrayException 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 ($string, $code) {
13                 // Add a message around the missing class
14                 $message = sprintf("<u>%s</u> ist kein Array!",
15                         $string
16                 );
17
18                 // Call parent constructor
19                 parent::__construct($message, $code);
20         }
21 }
22
23 // [EOF]
24 ?>