From 16d1f5b07ee217c5e30656796357ed8ee1c316d4 Mon Sep 17 00:00:00 2001 From: Automerge Date: Thu, 3 May 2012 17:06:26 +0000 Subject: [PATCH] [merge from 6.7] Fixed #8589: Permit XHTML content in UserError svn changeset:23673/svn branch:6.8 --- src/com/vaadin/terminal/UserError.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.39.5