(no commit message)
[shipsimu.git] / application / ship-simu / exceptions / class_PersonellListAlreadyCreatedException.php
1 <?php
2
3 // A crew list has already been initialized
4 class PersonellListAlreadyCreatedException extends FrameworkException {
5         public function __construct ($class, $code) {
6                 // Add a message around the missing class
7                 $message = sprintf("[%s:] Die interne Crew-Liste wurde bereits initialisiert.",
8                         $class->__toString()
9                 );
10
11                 // Call parent constructor
12                 parent::__construct($message, $code);
13         }
14 }
15
16 // [EOF]
17 ?>