]> git.mxchange.org Git - jcustomer-core.git/blobdiff - src/org/mxchange/jshopcore/exceptions/BasketItemAlreadyAddedException.java
Continued:
[jcustomer-core.git] / src / org / mxchange / jshopcore / exceptions / BasketItemAlreadyAddedException.java
index efd249227e2dbc15bd687bd610853476b4632273..053d7fbe620f39f03c1b1369d9b0780644abca3f 100644 (file)
@@ -20,11 +20,13 @@ import java.text.MessageFormat;
 import org.mxchange.jshopcore.model.basket.AddableBasketItem;
 
 /**
- * An exception thrown when the given item is already added to the basket.
+ * An exception thrown when the given item is already added to the
+ * basketController.
  *
  * @author Roland Haeder
  */
 public class BasketItemAlreadyAddedException extends Exception {
+
        /**
         * Serial number
         */
@@ -36,7 +38,7 @@ public class BasketItemAlreadyAddedException extends Exception {
         * @param <T> Any item that is or extends the interface
         * @param item An instance of a T item
         */
-       public <T extends AddableBasketItem>BasketItemAlreadyAddedException (final T item) {
+       public <T extends AddableBasketItem> BasketItemAlreadyAddedException (final T item) {
                // Create message and pass it along
                super(MessageFormat.format("Item {0} has already been added. Did you miss to call isAdded()?", item));
        }