EFContextProvider exception handling improvement.