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.
If the
getMessage()orgetLocalizedMessage()methods of an exception are used to show information to the user, aJabRefExceptionshould 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.