]> git.mxchange.org Git - shipsimu.git/blobdiff - application/ship-simu/exceptions/class_InvalidContractPartnerException.php
Method constructor() removed, several small fixes
[shipsimu.git] / application / ship-simu / exceptions / class_InvalidContractPartnerException.php
index c0d0eb86f6e434cd11ec54e76de67cb0994f90c3..992e34e1bdaf94f0dec2b6c89b1a81eb2e5ad72b 100644 (file)
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 class InvalidContractPartnerException extends FrameworkException {
        public function __construct (BaseFrameworkSystem $class, $code) {
                // Add a message around the missing class
                $message = sprintf("[%s:] <u>%s</u> ist kein g&uuml;tiger Vertragspartner.",
                        $class->__toString(),
-                       $class->getPartDescr()
+                       $class->getObjectDescription()
                );
 
                // Call parent constructor