CorruptionException
public final class CorruptionException extends IOException
| java.lang.Object | ||
| ↳ | androidx.datastore.core.IOException | |
| ↳ | androidx.datastore.core.CorruptionException |
A subclass of IOException that indicates that the file could not be de-serialized due to data format corruption. This exception should not be thrown when the IOException is due to a transient IO issue or permissions issue.
Summary
Public constructors |
|---|
CorruptionException(@NonNull String message, Throwable cause) |
Public constructors
CorruptionException
Added in 1.0.0
public CorruptionException(@NonNull String message, Throwable cause)