Verified Owner
Top Fields Constructors Methods
org.jabref.logic

public Class JabRefException

extends Exception
Class Inheritance
Known Direct Subclasses
org.jabref.logic.WatchServiceUnavailableException, org.jabref.logic.importer.FetcherException, org.jabref.logic.importer.ImportException, org.jabref.logic.importer.util.ShortDOIServiceException
Imports
org.jspecify.annotations.Nullable, org.slf4j.Logger, .LoggerFactory

Field Summary

Modifier and TypeField and Description
private @Nullable String
private static final Logger

Constructor Summary

AccessConstructor and Description
public
public
public
JabRefException(String message, @Nullable String localizedMessage)

public
JabRefException(String message, @Nullable String localizedMessage, Throwable cause)

public

Method Summary

Modifier and TypeMethod and Description
public String
getLocalizedMessage()

Overrides java.lang.Throwable.getLocalizedMessage.

Creates a localized description of this throwable.

Field Detail

localizedMessageback to summary
private @Nullable String localizedMessage
LOGGERback to summary
private static final Logger LOGGER

Constructor Detail

JabRefExceptionback to summary
public JabRefException(String message)
JabRefExceptionback to summary
public JabRefException(String message, Throwable cause)
JabRefExceptionback to summary
public JabRefException(String message, @Nullable String localizedMessage)
JabRefExceptionback to summary
public JabRefException(String message, @Nullable String localizedMessage, Throwable cause)
JabRefExceptionback to summary
public JabRefException(Throwable cause)

Method Detail

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().

Annotations
@Override