Class OutOfStockException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.homannsoftware.transactions.OutOfStockException
All Implemented Interfaces:
Serializable

public class OutOfStockException extends RuntimeException
Signals that an inventory row could not satisfy the reservation.
See Also:
  • Constructor Details

    • OutOfStockException

      public OutOfStockException(String sku)
      Describes the rejected reservation without changing inventory.
      Parameters:
      sku - missing or insufficient product