If the write failed won't it just raise an Exception?