PrintWriter.ClearError Method

Definition

Clears the error state of this stream.

[Android.Runtime.Register("clearError", "()V", "GetClearErrorHandler")]
protected virtual void ClearError ();
[<Android.Runtime.Register("clearError", "()V", "GetClearErrorHandler")>]
abstract member ClearError : unit -> unit
override this.ClearError : unit -> unit
Attributes

Remarks

Clears the error state of this stream.

This method will cause subsequent invocations of #checkError() to return false until another write operation fails and invokes #setError().

Added in 1.6.

Java documentation for java.io.PrintWriter.clearError().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to