To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.
I'm currently developing some portlets with Vaadin 6 and Liferay Portal. I would like to be able to disable the warning indication and displaying of the stack trace when an exception occurs in a component.
I have enabled logging of these exceptions by overriding the terminalError(Terminal.ErrorEvent event) method in my application. I have found that if I don't call super.terminalError(event) the notification is not displayed.
My question is, is this safe? If so, is this a reasonable way to go about this?
In the book of Vaadin for Vaadin 6, it says that default functionality can be safely discarded, but I'm not 100% sure if this just applies to setErrorHandler() or if it applies to terminalError() as well.
Here is the relevant page from the book of Vaadin (HTML version): https://vaadin.com/book/vaadin6/-/page/application.errors.html