Abstract
In this chapter, you’ll add logic to verify that each of the order items is in stock. To do that, you’ll iterate through each of the order items in the same way as you did in the previous chapter. If an item is out of stock, you’ll throw an exception, which will be caught by your workflow.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Rights and permissions
Copyright information
© 2010 Mark J. Collins
About this chapter
Cite this chapter
Collins, M.J. (2010). Exception Handling. In: Beginning WF. Apress. https://doi.org/10.1007/978-1-4302-2486-0_6
Download citation
DOI: https://doi.org/10.1007/978-1-4302-2486-0_6
Publisher Name: Apress
Print ISBN: 978-1-4302-2485-3
Online ISBN: 978-1-4302-2486-0
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)