Bug 548026: Restore exception type and cause

Change-Id: I07b672cef6894c90b7c2b65582bacd89c6b1fe83
30 files changed