major
nice-to-have
defect
major
enhancement
(User-visible)
Code can communicate a problem directly to the user by throwing a TopLogicException. To do this, a ResKey is specified that contains the user-readable error message.
Problem
The current display of the error/warning message looks more like an internal system error to the user:
Improvement
For information messages, the information icon should be selectable so that a visual distinction can be made between "information," "user errors," and "system errors."
Application
The title, message, and severity can now be set directly on a TopLogicException:
- I18NRuntimeException.initSeverity(ErrorSeverity)
- I18NRuntimeException.initDetails(ResKey)
The same is possible for a HandlerResult:
- HandlerResult.setErrorSeverity(ErrorSeverity)
- HandlerResult.setErrorTitle(ResKey)
- HandlerResult.setErrorMessage(ResKey)
Test
- Buttons shown above in TestControlsForm.