writeFailureRecord
FailureRepository
NullFailureRepository