Changed Exception types.