AVRO-820. Java: Permit applications to catch exceptions thrown while writing data to a file and then continue writing to that file. Contributed by scottcarey.