Wrapping exceptions into faults