0b1c304a38bca3c28f11f03a9fd0340a78e3f3d2
[shipsimu.git] / application / ship-simu / exceptions / class_InvalidContractPartnerException.php
1 <?php
2
3 // An exception class for lost classes... ;-)
4 class InvalidContractPartnerException extends FrameworkException {
5         public function __construct ($class, $code) {
6                 // Add a message around the missing class
7                 $message = sprintf("[%s:] <u>%s</u> ist kein g&uuml;tiger Vertragspartner.",
8                         $class->__toString(),
9                         $class->getPartDescr()
10                 );
11
12                 // Call parent constructor
13                 parent::__construct($message, $code);
14         }
15 }
16
17 // [EOF]
18 ?>