diff options
author | Leif Åstrand <leif@vaadin.com> | 2012-09-03 10:38:11 +0300 |
---|---|---|
committer | Leif Åstrand <leif@vaadin.com> | 2012-09-03 14:05:30 +0300 |
commit | 3dd5a4824cda3dd7842c937a618feebc2b1a0f27 (patch) | |
tree | 3fc137b8e3efc76f837a72e1323b7fa704f8e318 /server/src/com/vaadin/Application.java | |
parent | 55afccf800425f66437fdffe3212b6b92fbeb1e5 (diff) | |
download | vaadin-framework-3dd5a4824cda3dd7842c937a618feebc2b1a0f27.tar.gz vaadin-framework-3dd5a4824cda3dd7842c937a618feebc2b1a0f27.zip |
Move SystemMessages to DeploymentConfiguration (#9402)
Diffstat (limited to 'server/src/com/vaadin/Application.java')
-rw-r--r-- | server/src/com/vaadin/Application.java | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/server/src/com/vaadin/Application.java b/server/src/com/vaadin/Application.java index f8ff812c94..8a043154d7 100644 --- a/server/src/com/vaadin/Application.java +++ b/server/src/com/vaadin/Application.java @@ -463,12 +463,6 @@ public class Application implements Terminal.ErrorListener, Serializable { private String logoutURL = null; /** - * The default SystemMessages (read-only). Change by overriding - * getSystemMessages() and returning CustomizedSystemMessages - */ - private static final SystemMessages DEFAULT_SYSTEM_MESSAGES = new SystemMessages(); - - /** * Application wide error handler which is used by default if an error is * left unhandled. */ @@ -792,25 +786,6 @@ public class Application implements Terminal.ErrorListener, Serializable { } /** - * Gets the SystemMessages for this application. SystemMessages are used to - * notify the user of various critical situations that can occur, such as - * session expiration, client/server out of sync, and internal server error. - * - * You can customize the messages by "overriding" this method and returning - * {@link CustomizedSystemMessages}. To "override" this method, re-implement - * this method in your application (the class that extends - * {@link Application}). Even though overriding static methods is not - * possible in Java, Vaadin selects to call the static method from the - * subclass instead of the original {@link #getSystemMessages()} if such a - * method exists. - * - * @return the SystemMessages for this application - */ - public static SystemMessages getSystemMessages() { - return DEFAULT_SYSTEM_MESSAGES; - } - - /** * <p> * Invoked by the terminal on any exception that occurs in application and * is thrown by the <code>setVariable</code> to the terminal. The default |