]> source.dussan.org Git - vaadin-framework.git/commitdiff
[merge from 6.7] Fixed #8589: Permit XHTML content in UserError
authorAutomerge <automerge@vaadin.com>
Thu, 3 May 2012 17:06:26 +0000 (17:06 +0000)
committerAutomerge <automerge@vaadin.com>
Thu, 3 May 2012 17:06:26 +0000 (17:06 +0000)
svn changeset:23673/svn branch:6.8

src/com/vaadin/terminal/UserError.java

index 170d76610b63d73bad9a45bb028518504b69d452..678e936dec4af4a35bac8b272830be020e11704c 100644 (file)
@@ -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);
         }