Bug #24775
ERROR_TEMPORARILY_UNAVAILABLE name of the error is saved an re-used - even for other exceptions
Status: | New | Start date: | 03/28/2014 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 0% | |
Category: | General | |||
Target version: | 020 - Next Release 2.0 | |||
Resolution: |
Description
if (true) throw new PluginException(LinkStatus.ERROR_TEMPORARILY_UNAVAILABLE, "First errormessage", 30 * 60 * 1000l);
JD will show
"First errormessage", wait blabla
Then stop dls (same session), start them again but this time throw this:
if (true) throw new PluginException(LinkStatus.ERROR_TEMPORARILY_UNAVAILABLE, "Second errormessage", 30 * 60 * 1000l);
JD will show:
"First error", wait blabla --> BUG!
Correct would look like:
"Second errormessage", wait blabla