{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

SnapshotApplyConflictException

public final class SnapshotApplyConflictException


An exception that is thrown when SnapshotApplyResult.check is called on a result of a MutableSnapshot.apply that fails to apply.

Summary

Public constructors

Public methods

Throwable
String
final @NonNull Snapshot

Public constructors

SnapshotApplyConflictException

public SnapshotApplyConflictException(@NonNull Snapshot snapshot)

Public methods

getCause

public Throwable getCause()

getMessage

public String getMessage()

getSnapshot

public final @NonNull Snapshot getSnapshot()