summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAutomerge <automerge@vaadin.com>2012-05-03 17:06:26 +0000
committerAutomerge <automerge@vaadin.com>2012-05-03 17:06:26 +0000
commit16d1f5b07ee217c5e30656796357ed8ee1c316d4 (patch)
treee706c51953cb79770e01fa4fcc214db61cd010c1 /src
parent9b17bc12f8116e33468e81d3b397ca81d8fea530 (diff)
downloadvaadin-framework-16d1f5b07ee217c5e30656796357ed8ee1c316d4.tar.gz
vaadin-framework-16d1f5b07ee217c5e30656796357ed8ee1c316d4.zip
[merge from 6.7] Fixed #8589: Permit XHTML content in UserError
svn changeset:23673/svn branch:6.8
Diffstat (limited to 'src')
-rw-r--r--src/com/vaadin/terminal/UserError.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/vaadin/terminal/UserError.java b/src/com/vaadin/terminal/UserError.java
index 170d76610b..678e936dec 100644
--- a/src/com/vaadin/terminal/UserError.java
+++ b/src/com/vaadin/terminal/UserError.java
@@ -77,7 +77,7 @@ public class UserError implements ErrorMessage {
public UserError(String message, int contentMode, int errorLevel) {
// Check the parameters
- if (contentMode < 0 || contentMode > 2) {
+ if (contentMode < 0 || contentMode > 3) {
throw new java.lang.IllegalArgumentException(
"Unsupported content mode: " + contentMode);
}