Method constructor() removed, several small fixes
[shipsimu.git] / application / ship-simu / exceptions / class_ItemNotInPriceListException.php
index 8c125957ecc49c8e35844b08c74395d1144aafe4..f6f20e71c5155bb5559bce21f16c350c273e37ce 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 ItemNotInPriceListException extends FrameworkException {
        public function __construct (BaseFrameworkSystem $class, $code) {
                // Add a message around the missing class
                $message = sprintf("[Merchant:] Preis f&uuml;r den Artikel <u>%s</u> <em><u>%s</u></em> nicht gefunden.",
                        $class->__toString(),
-                       $class->getPartDescr()
+                       $class->getObjectDescription()
                );
 
                // Call parent constructor