summaryrefslogtreecommitdiffstats
path: root/server/src/com/vaadin/ui/Component.java
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2012-11-19 13:40:14 +0200
committerArtur Signell <artur@vaadin.com>2012-11-21 15:18:31 +0200
commitc454797201969a03fa43000d8bb8ccb30ef5b437 (patch)
tree34f69ce9af70a7112ae69008d6eb8f03c7d961b8 /server/src/com/vaadin/ui/Component.java
parent6ed87c1b6ce280082c2dee21a6f87c1620e0ea79 (diff)
downloadvaadin-framework-c454797201969a03fa43000d8bb8ccb30ef5b437.tar.gz
vaadin-framework-c454797201969a03fa43000d8bb8ccb30ef5b437.zip
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
Diffstat (limited to 'server/src/com/vaadin/ui/Component.java')
-rw-r--r--server/src/com/vaadin/ui/Component.java14
1 files changed, 0 insertions, 14 deletions
diff --git a/server/src/com/vaadin/ui/Component.java b/server/src/com/vaadin/ui/Component.java
index 4797bb702c..85140a8351 100644
--- a/server/src/com/vaadin/ui/Component.java
+++ b/server/src/com/vaadin/ui/Component.java
@@ -954,20 +954,6 @@ public interface Component extends ClientConnector, Sizeable, Serializable {
}
/**
- * Listener interface for receiving <code>Component.Errors</code>s.
- */
- public interface ErrorListener extends EventListener, Serializable {
-
- /**
- * Notifies the listener of a component error.
- *
- * @param event
- * the event that has occured.
- */
- public void componentError(Component.ErrorEvent event);
- }
-
- /**
* A sub-interface implemented by components that can obtain input focus.
* This includes all {@link Field} components as well as some other
* components, such as {@link Upload}.