Verified Owner
Top Description Fields Constructors Methods
org.jabref.logic.shared.exception

public Class OfflineLockException

extends Exception
Class Inheritance
Imports
org.jabref.model.entry.BibEntry

This exception is thrown if a BibEntry with smaller version number is going to be used for an update on the shared side. The principle of optimistic offline lock forbids updating with obsolete objects.

Field Summary

Modifier and TypeField and Description
private final BibEntry
private final BibEntry

Constructor Summary

AccessConstructor and Description
public
OfflineLockException(BibEntry localBibEntry, BibEntry sharedBibEntry)

Method Summary

Modifier and TypeMethod and Description
public BibEntry
public BibEntry

Field Detail

localBibEntryback to summary
private final BibEntry localBibEntry
sharedBibEntryback to summary
private final BibEntry sharedBibEntry

Constructor Detail

OfflineLockExceptionback to summary
public OfflineLockException(BibEntry localBibEntry, BibEntry sharedBibEntry)

Method Detail

getLocalBibEntryback to summary
public BibEntry getLocalBibEntry()
getSharedBibEntryback to summary
public BibEntry getSharedBibEntry()