Package com.goldenleaf.shop.exception
package com.goldenleaf.shop.exception
-
Exception ClassesClassDescriptionChecked exception thrown when an attempt is made to create or process a review without a valid author (customer).Checked exception thrown when an attempt is made to create or update a product without specifying a valid brand.Checked exception thrown when an attempt is made to create or update a credit card without providing a valid card number.Checked exception thrown when an attempt is made to create or save a review (or any other user-generated textual content) with an empty or missing text body.Checked exception thrown when an attempt is made to process or temporarily store a credit-card CVV (Card Verification Value) that is
null, empty, or consists only of whitespace.Checked exception thrown when an attempt is made to create or update a credit card without providing a valid expiry date (month/year).Checked exception thrown when an attempt is made to create or persist a user (customer, admin, etc.) without specifying the date of the last activity.Checked exception thrown when an attempt is made to create, update, or authenticate a user with anull, empty, or whitespace-only login.Checked exception thrown when an attempt is made to create or update an entity that requires a non-empty name (full name, category name, product name, etc.)Checked exception thrown when an attempt is made to perform an operation that requires a validProductinstance, but the provided product isnull.Checked exception thrown when an attempt is made to perform an operation that requires a valid, non-nullShoppingCartinstance, but the provided shopping cart isnull.Checked exception thrown when an attempt is made to set or add an invalid number of bonus points for aCustomer.Checked exception thrown when an attempt is made to set or update a customer's email address with an invalid, malformed, or otherwise unacceptable value.Checked exception thrown when an attempt is made to set or update a customer's mobile phone number with an invalid, malformed, or otherwise unacceptable value.Checked exception thrown when an attempt is made to set or update a product price (or any monetary amount) with an invalid or unacceptable value.Checked exception thrown when an attempt is made to set or update a quantity (e.g., product stock, items in cart, order line quantity) with an invalid or unacceptable value.Checked exception thrown when an attempt is made to create or save a product review with a rating that falls outside the allowed range (typically 1–5 stars).Checked exception thrown when an operation requires a valid, non-nullCustomerinstance, butnullis provided or the customer reference is missing.Checked exception thrown when an operation requires a valid, non-null payment method (typically aCreditCardor other payment entity), butnullis supplied or the payment reference is missing.