Trace:
Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
applications:custom_errorhandling [2019/08/06 13:04] admin |
applications:custom_errorhandling [2019/08/06 13:04] admin |
||
---|---|---|---|
Line 107: | Line 107: | ||
We collect all occurred Exceptions in a list - **liErrors** - and show one message at the end, see **showErrorMessages**. \\ | We collect all occurred Exceptions in a list - **liErrors** - and show one message at the end, see **showErrorMessages**. \\ | ||
\\ | \\ | ||
- | In showErrorMessages, we iterate through all opened work-screens and check if the interface is implemented. In our example, every work-screen has to implement the interface IErrorHandler. A better solution would be a custom work-screen base class, e.g. | + | In **showErrorMessages**, we iterate through all opened work-screens and check if our interface is implemented. In our example, every work-screen has to implement the interface **IErrorHandler**. A better solution would be a custom work-screen base class, e.g. |
<file java> | <file java> |