More patterns added, part description changed to object description
[shipsimu.git] / inc / classes / exceptions / main / class_InvalidObjectException.php
index 9dca343..76a4a4c 100644 (file)
@@ -34,7 +34,7 @@ class InvalidObjectException extends FrameworkException {
                $message = sprintf("[%s:%d] Objekte sind nicht erlaubt. (Objekt: <u>%s</u>)",
                        $class->__toString(),
                        $this->getLine(),
-                       $class->getPartDescr()
+                       $class->getObjectDescription()
                );
 
                // Call parent constructor