public class BasicInventoryUnavailableException extends Exception
| Modifier and Type | Field and Description |
|---|---|
protected Integer |
quantityAvailable |
protected Integer |
quantityRequested |
protected Long |
skuId |
| Constructor and Description |
|---|
BasicInventoryUnavailableException(Long skuId,
Integer quantityRequested,
Integer quantityAvailable) |
BasicInventoryUnavailableException(String arg0,
Long skuId,
Integer quantityRequested,
Integer quantityAvailable) |
| Modifier and Type | Method and Description |
|---|---|
int |
getQuantityAvailable() |
int |
getQuantityRequested() |
Long |
getSkuId() |
void |
setQuantityAvailable(int quantityAvailable) |
void |
setQuantityRequested(int quantityRequested) |
void |
setSkuId(Long skuId) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringprotected Long skuId
protected Integer quantityRequested
protected Integer quantityAvailable
public BasicInventoryUnavailableException(Long skuId, Integer quantityRequested, Integer quantityAvailable)
public Long getSkuId()
public void setSkuId(Long skuId)
public int getQuantityRequested()
public void setQuantityRequested(int quantityRequested)
public int getQuantityAvailable()
public void setQuantityAvailable(int quantityAvailable)
Copyright © 2014. All rights reserved.