TypeReasonJava.IO.IOExceptionif an error occurs while flushing this writer.
Flushes this writer. Implementations of this method should ensure that all buffered characters are written to the target.
[Android Documentation]