Skip to content

Usage JabRefExceptions for localized error message to be shown to the user #2128

@matthiasgeiger

Description

@matthiasgeiger

If the getMessage() or getLocalizedMessage() methods of an exception are used to show information to the user, a JabRefException should be used which provides the necessary implementation to actually have localized messages.

An example are the FetcherExceptions which are thrown and caught in the various fetchers. (refs #1542)

I just commited the needed changes in the FetcherException to master (see 8db90db) - correct usage is still todo.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions