Top Description Fields Constructors Methods
org.jabref.logic.exporter

public Class SaveException

extends Exception
Class Inheritance
Imports
org.jabref.logic.l10n.Localization, org.jabref.model.entry.BibEntry

Exception thrown if saving goes wrong. If caused by a specific entry, keeps track of which entry caused the problem.

Field Summary

Modifier and TypeField and Description
public static final SaveException
private BibEntry
public static final SaveException
private String
private int

Constructor Summary

AccessConstructor and Description
public
public
SaveException(String message, Throwable exception)

public
SaveException(String message, String localizedMessage)

public
SaveException(String message, int status)

public
SaveException(String message, BibEntry entry)

public
SaveException(String message, String localizedMessage, BibEntry entry, Throwable base)

public
public

Method Summary

Modifier and TypeMethod and Description
public BibEntry
public String
getLocalizedMessage()

Overrides java.lang.Throwable.getLocalizedMessage.

Creates a localized description of this throwable.

public int
public boolean

Field Detail

BACKUP_CREATIONback to summary
public static final SaveException BACKUP_CREATION
entryback to summary
private BibEntry entry
FILE_LOCKEDback to summary
public static final SaveException FILE_LOCKED
localizedMessageback to summary
private String localizedMessage
statusback to summary
private int status

Constructor Detail

SaveExceptionback to summary
public SaveException(String message)
SaveExceptionback to summary
public SaveException(String message, Throwable exception)
SaveExceptionback to summary
public SaveException(String message, String localizedMessage)
SaveExceptionback to summary
public SaveException(String message, int status)
SaveExceptionback to summary
public SaveException(String message, BibEntry entry)
SaveExceptionback to summary
public SaveException(String message, String localizedMessage, BibEntry entry, Throwable base)
SaveExceptionback to summary
public SaveException(Throwable base)
SaveExceptionback to summary
public SaveException(Throwable base, BibEntry entry)

Method Detail

getEntryback to summary
public BibEntry getEntry()
getLocalizedMessageback to summary
public String getLocalizedMessage()

Overrides java.lang.Throwable.getLocalizedMessage.

Doc from java.lang.Throwable.getLocalizedMessage.

Creates a localized description of this throwable. Subclasses may override this method in order to produce a locale-specific message. For subclasses that do not override this method, the default implementation returns the same result as getMessage().

Returns:String

The localized description of this throwable.

Annotations
@Override
getStatusback to summary
public int getStatus()
specificEntryback to summary
public boolean specificEntry()