X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2Forg%2Fmxchange%2Fjproduct%2Fexceptions%2Fproduct%2FProductAlreadyAddedException.java;h=d1a0f6dd371d3286f8156114c9fa77cb940c4816;hb=HEAD;hp=32accde182abf9236d4c08494ccc77d8e29de07f;hpb=0602437152c584aea05c2adea3b72783c6916a95;p=jproduct-core.git diff --git a/src/org/mxchange/jproduct/exceptions/product/ProductAlreadyAddedException.java b/src/org/mxchange/jproduct/exceptions/product/ProductAlreadyAddedException.java index 32accde..d1a0f6d 100644 --- a/src/org/mxchange/jproduct/exceptions/product/ProductAlreadyAddedException.java +++ b/src/org/mxchange/jproduct/exceptions/product/ProductAlreadyAddedException.java @@ -1,5 +1,5 @@ /* - * 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 @@ -48,7 +48,7 @@ public class ProductAlreadyAddedException extends Exception { */ 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 } }