]> source.dussan.org Git - vaadin-framework.git/commit
Replaced ComponentErrorHandler with generic ErrorHandler (#10231) 93/293/7
authorArtur Signell <artur@vaadin.com>
Mon, 19 Nov 2012 11:40:14 +0000 (13:40 +0200)
committerArtur Signell <artur@vaadin.com>
Wed, 21 Nov 2012 13:18:31 +0000 (15:18 +0200)
commitc454797201969a03fa43000d8bb8ccb30ef5b437
tree34f69ce9af70a7112ae69008d6eb8f03c7d961b8
parent6ed87c1b6ce280082c2dee21a6f87c1620e0ea79
Replaced ComponentErrorHandler with generic ErrorHandler (#10231)

* Replaced AbstractComponent ErrorHandler with ClientConnector level error handler. Now uses the same ErrorHandler as other parts of the framework.
* Made error handling hierarchical so that the error handler of the connector where the error occured or its ancestors is used. Falls back to VaadinSession ErrorHandler.
* Changed ErrorEvent to be a class as all other events in the framework
* Renamed ErrorListener to ErrorHandler and DefaultErrorListener to DefaultErrorHandler for consistency
* Unified error handling in AbstractCommunicationManager
* Unified error handling in VaadinServlet and VaadinPortlet
* Removed superfluous ErrorEvent implementations (#10232)

Change-Id: Ied518e05209fe54685f4bebab0709b1cd5584fd1
25 files changed:
server/src/com/vaadin/server/AbstractClientConnector.java
server/src/com/vaadin/server/AbstractCommunicationManager.java
server/src/com/vaadin/server/ChangeVariablesErrorEvent.java [deleted file]
server/src/com/vaadin/server/ClientConnector.java
server/src/com/vaadin/server/DefaultErrorHandler.java [new file with mode: 0644]
server/src/com/vaadin/server/DefaultErrorListener.java [deleted file]
server/src/com/vaadin/server/DragAndDropService.java
server/src/com/vaadin/server/ErrorEvent.java
server/src/com/vaadin/server/ErrorHandler.java [new file with mode: 0644]
server/src/com/vaadin/server/ErrorListener.java [deleted file]
server/src/com/vaadin/server/FileResource.java
server/src/com/vaadin/server/LegacyApplication.java
server/src/com/vaadin/server/StreamVariable.java
server/src/com/vaadin/server/VaadinPortlet.java
server/src/com/vaadin/server/VaadinServlet.java
server/src/com/vaadin/server/VaadinSession.java
server/src/com/vaadin/server/VariableOwner.java
server/src/com/vaadin/ui/AbstractComponent.java
server/src/com/vaadin/ui/Component.java
uitest/src/com/vaadin/tests/appengine/GAESyncTest.java
uitest/src/com/vaadin/tests/application/TerminalErrorNotification.java
uitest/src/com/vaadin/tests/components/AbstractComponentTest.java
uitest/src/com/vaadin/tests/components/abstractfield/TextFieldConversions.java
uitest/src/com/vaadin/tests/components/button/ShortCutListenerModification.java
uitest/src/com/vaadin/tests/errorhandler/ErrorHandlers.java [new file with mode: 0644]