|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@PublicApi public interface MessageHandlerErrorCollector
Message handlers should report here what they are doing Depending on the context in which handlers are run (either normal production run as from a scheduled service or in a test mode - a dry run - from UI) this information can be transparently routed to appropriate place. Consider passing here translated strings (i18n), do not pass i18n keys.
Method Summary | |
---|---|
void |
error(String error)
Report an error. |
void |
error(String error,
Throwable e)
Report an error. |
void |
info(String info)
Report valuable information for JIRA admin |
void |
info(String info,
Throwable e)
Report valuable information for JIRA admin |
void |
warning(String warning)
Report a warning |
void |
warning(String warning,
Throwable e)
Report a warning |
Method Detail |
---|
void error(String error, @Nullable Throwable e)
error
- a serious problem which usually makes further hanling of given message pointlesse
- associated throwable or null
void error(String error)
error
- a serious problem which usually makes further hanling of given message pointlessvoid warning(String warning)
warning
- a warning, but nothing critical for the handlervoid warning(String warning, @Nullable Throwable e)
warning
- a warning, but nothing critical for the handlere
- associated throwable or null
void info(String info)
info
- information message (something expected, OK, normal)void info(String info, @Nullable Throwable e)
info
- information message (something expected, OK, normal)e
- associated throwable or null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |