This text file contains sample code fragments from: Chapter 19 - Composition Implementation Patterns Book - SOA Design Patterns Series - Prentice Hall Service-Oriented Computing Series from Thomas Erl Site - www.soabooks.com Example 19.3 - A compensation routine that invokes an undo operation (highlighted) in the event that the StockToInventory call fails. The catch construct catches the fault condition and then invokes the undoWithdrawInventory operation.