class ItemNotInPriceListException extends FrameworkException {
public function __construct (FrameworkInterface $class, $code) {
// Add a message around the missing class
- $message = sprintf("[Merchant:] Preis für den Artikel <span id=\"exception_reason\">%s</span> <em><span id=\"exception_reason\">%s</span></em> nicht gefunden.",
- $class->__toString(),
- $class->getObjectDescription()
+ $message = sprintf("[Merchant:] Preis für den Artikel <span id=\"exception_reason\">%s</span> nicht gefunden.",
+ $class->__toString()
);
// Call parent constructor