SyncStats.NumParseExceptions Property

Definition

The SyncAdapter had a problem with the data it received from the server or the storage later.

[Android.Runtime.Register("numParseExceptions")]
public long NumParseExceptions { get; set; }
[<Android.Runtime.Register("numParseExceptions")>]
member this.NumParseExceptions : int64 with get, set

Property Value

Attributes

Remarks

The SyncAdapter had a problem with the data it received from the server or the storage later. This problem will likely repeat if the request is tried again. The problem will need to be cleared up by either the server or the storage layer (likely with help from the user). If the SyncAdapter cleans up the data itself then it typically won't increment this value although it may still do so in order to record that it had to perform some cleanup. E.g., if the SyncAdapter received a bad entry from the server when processing a feed of entries, it may choose to drop the entry and thus make progress and still increment this value just so the SyncAdapter can record that an error occurred. This is considered a hard error.

Java documentation for android.content.SyncStats.numParseExceptions.

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