diff options
author | Michael Benz <michael.benz@foconis.de> | 2017-09-12 12:29:12 +0200 |
---|---|---|
committer | Henri Sara <henri.sara@gmail.com> | 2017-09-12 13:29:12 +0300 |
commit | 110079ad37300033ccb776ef3a1490f0d61f529d (patch) | |
tree | 27803b9fae1f517f22b1dd94592059187b5989d3 /server | |
parent | b75136b70f6a2fa0613ebf250c3dfe426543e0f2 (diff) | |
download | vaadin-framework-110079ad37300033ccb776ef3a1490f0d61f529d.tar.gz vaadin-framework-110079ad37300033ccb776ef3a1490f0d61f529d.zip |
Fix javadoc for CustomizedSystemMessages (#9970)
Fixed two typos in the CustomizedSystemMessages Javadoc.
Added the two missing situations: (although AuthenticationError seems not to be used in the server workspace)
Authentication error: the client received a 401 (Unauthorized) response from the server.
Cookies disabled: the browser does not support cookies
reference in documentation:
https://vaadin.com/vaadin-documentation-portlet/framework/application/application-errors.html
Diffstat (limited to 'server')
-rw-r--r-- | server/src/main/java/com/vaadin/server/CustomizedSystemMessages.java | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/server/src/main/java/com/vaadin/server/CustomizedSystemMessages.java b/server/src/main/java/com/vaadin/server/CustomizedSystemMessages.java index 2ff1c3d4e8..c8f9781f67 100644 --- a/server/src/main/java/com/vaadin/server/CustomizedSystemMessages.java +++ b/server/src/main/java/com/vaadin/server/CustomizedSystemMessages.java @@ -31,7 +31,7 @@ import java.io.Serializable; * </p> * <p> * The default behavior is to show a notification, and restart the application - * the the user clicks the message. <br/> + * if the user clicks the message. <br/> * Instead of restarting the application, you can set a specific URL that the * user is taken to.<br/> * Setting both caption and message to null will restart the application (or go @@ -42,10 +42,13 @@ import java.io.Serializable; * The situations are: * <li>Session expired: the user session has expired, usually due to inactivity. * </li> + * <li>Authentication error: the client received a 401 (Unauthorized) response + * from the server.</li> * <li>Communication error: the client failed to contact the server, or the - * server returned and invalid response.</li> + * server returned an invalid response.</li> * <li>Internal error: unhandled critical server error (e.g out of memory, * database crash) + * <li>Cookies disabled: the browser does not support cookies</li> * </p> */ |