Class InventoryUnavailableException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.broadleafcommerce.cartoperation.domain.InventoryUnavailableException
-
- All Implemented Interfaces:
Serializable
public class InventoryUnavailableException extends RuntimeException
Exception to indicate that inventory was unavailable, typically after trying to reserve inventory.- Author:
- Kelly Tisdell
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InventoryUnavailableException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace, Map<String,String> itemFailureMessages)
InventoryUnavailableException(String message, Throwable cause, Map<String,String> itemFailureMessages)
InventoryUnavailableException(String message, Map<String,String> itemFailureMessages)
InventoryUnavailableException(Throwable cause, Map<String,String> itemFailureMessages)
InventoryUnavailableException(Map<String,String> itemFailureMessages)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,String>
getItemFailureMessages()
Line item error messages to indicate which cart items were unavailable.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
InventoryUnavailableException
public InventoryUnavailableException(Map<String,String> itemFailureMessages)
-
InventoryUnavailableException
public InventoryUnavailableException(String message, Map<String,String> itemFailureMessages)
-
InventoryUnavailableException
public InventoryUnavailableException(String message, Throwable cause, Map<String,String> itemFailureMessages)
-
InventoryUnavailableException
public InventoryUnavailableException(Throwable cause, Map<String,String> itemFailureMessages)
-
-