/*
- * Copyright (C) 2016, 2017 Roland Häder
+ * Copyright (C) 2016 - 2024 Free Software Foundation
*
* 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
*/
public ProductAlreadyAddedException (final Product product) {
// Call super constructor
- super(MessageFormat.format("Product with title '{0}' already added.", product.getProductTitle())); //NOI18N
+ super(MessageFormat.format("Product with title {0} already added.", product.getProductI18nKey())); //NOI18N
}
}