X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=application%2Fship-simu%2Fexceptions%2Fclass_InvalidContractPartnerException.php;h=3bf55f058cba5d4382c901b980457edb472dfbe3;hb=23fe4cf0991c5903597f5645dd5d3c3fd0dfff96;hp=992e34e1bdaf94f0dec2b6c89b1a81eb2e5ad72b;hpb=1d128d8532290e84885d09d2d3f0060abd08e49e;p=shipsimu.git diff --git a/application/ship-simu/exceptions/class_InvalidContractPartnerException.php b/application/ship-simu/exceptions/class_InvalidContractPartnerException.php index 992e34e..3bf55f0 100644 --- a/application/ship-simu/exceptions/class_InvalidContractPartnerException.php +++ b/application/ship-simu/exceptions/class_InvalidContractPartnerException.php @@ -4,9 +4,9 @@ * * @author Roland Haeder * @version 0.0.0 - * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @copyright Copyright (c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version - * @link http://www.ship-simu.org + * @link http://www.ship-simu.org * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -22,11 +22,10 @@ * along with this program. If not, see . */ class InvalidContractPartnerException extends FrameworkException { - public function __construct (BaseFrameworkSystem $class, $code) { + public function __construct (FrameworkInterface $class, $code) { // Add a message around the missing class - $message = sprintf("[%s:] %s ist kein gütiger Vertragspartner.", - $class->__toString(), - $class->getObjectDescription() + $message = sprintf("[%s:] Kein gütiger Vertragspartner.", + $class->__toString() ); // Call parent constructor