summaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/terminal/UserError.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/vaadin/terminal/UserError.java')
-rw-r--r--src/com/vaadin/terminal/UserError.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/com/vaadin/terminal/UserError.java b/src/com/vaadin/terminal/UserError.java
index baaf331fa0..a7a4fd89e2 100644
--- a/src/com/vaadin/terminal/UserError.java
+++ b/src/com/vaadin/terminal/UserError.java
@@ -44,6 +44,16 @@ public class UserError extends AbstractErrorMessage {
super(textErrorMessage);
}
+ /**
+ * Creates an error message with level and content mode.
+ *
+ * @param message
+ * the error message.
+ * @param contentMode
+ * the content Mode.
+ * @param errorLevel
+ * the level of error.
+ */
public UserError(String message, ContentMode contentMode,
ErrorLevel errorLevel) {
super(message);