add error propagation for thunking layer

bug 11370403

Change-Id: I5e25d1c01bc4f72445c94d36ffeb509e60f1803f
16 files changed