class_ContractPartnerMismatchException.php
Go to the documentation of this file.00001 <?php
00024 class ContractPartnerMismatchException extends FrameworkException {
00025 public function __construct (array $classArray, $code) {
00026
00027 $message = sprintf("[%s:] Der Vertragspartner von <span class=\"exception_reason\">%s</span> ist ungütig (<span class=\"exception_reason\">%s</span>) und darf diesen Vertrag nicht unterzeichnen!",
00028 $classArray[0]->__toString(),
00029 $classArray[1]->getCompanyName(),
00030 $classArray[2]->getCompanyName()
00031 );
00032
00033
00034 parent::__construct($message, $code);
00035 }
00036 }
00037
00038
00039 ?>