TypeReasonJava.IO.IOExceptionif an error occurs while writing to the target stream.
Writes the Java.IO.ObjectOutputStream header to the target stream.
[Android Documentation]