aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/com/vaadin/terminal/ErrorMessage.java20
-rw-r--r--src/com/vaadin/terminal/UserError.java15
2 files changed, 35 insertions, 0 deletions
diff --git a/src/com/vaadin/terminal/ErrorMessage.java b/src/com/vaadin/terminal/ErrorMessage.java
index d93ba62478..6436b0b472 100644
--- a/src/com/vaadin/terminal/ErrorMessage.java
+++ b/src/com/vaadin/terminal/ErrorMessage.java
@@ -72,14 +72,34 @@ public interface ErrorMessage extends Paintable, Serializable {
}
+ /**
+ * @deprecated from 7.0, use {@link ErrorLevel#SYSTEMERROR} instead    
+ */
@Deprecated
public static final ErrorLevel SYSTEMERROR = ErrorLevel.SYSTEMERROR;
+
+ /**
+ * @deprecated from 7.0, use {@link ErrorLevel#CRITICAL} instead    
+ */
@Deprecated
public static final ErrorLevel CRITICAL = ErrorLevel.CRITICAL;
+
+ /**
+ * @deprecated from 7.0, use {@link ErrorLevel#ERROR} instead    
+ */
+
@Deprecated
public static final ErrorLevel ERROR = ErrorLevel.ERROR;
+
+ /**
+ * @deprecated from 7.0, use {@link ErrorLevel#WARNING} instead    
+ */
@Deprecated
public static final ErrorLevel WARNING = ErrorLevel.WARNING;
+
+ /**
+ * @deprecated from 7.0, use {@link ErrorLevel#INFORMATION} instead    
+ */
@Deprecated
public static final ErrorLevel INFORMATION = ErrorLevel.INFORMATION;
diff --git a/src/com/vaadin/terminal/UserError.java b/src/com/vaadin/terminal/UserError.java
index f2879f45bf..8d9e568a1e 100644
--- a/src/com/vaadin/terminal/UserError.java
+++ b/src/com/vaadin/terminal/UserError.java
@@ -38,12 +38,27 @@ public class UserError implements ErrorMessage {
XHTML;
}
+ /**
+ * @deprecated from 7.0, use {@link ContentMode#TEXT} instead    
+ */
@Deprecated
public static final ContentMode CONTENT_TEXT = ContentMode.TEXT;
+
+ /**
+ * @deprecated from 7.0, use {@link ContentMode#PREFORMATTED} instead    
+ */
@Deprecated
public static final ContentMode CONTENT_PREFORMATTED = ContentMode.PREFORMATTED;
+
+ /**
+ * @deprecated from 7.0, use {@link ContentMode#UIDL} instead    
+ */
@Deprecated
public static final ContentMode CONTENT_UIDL = ContentMode.UIDL;
+
+ /**
+ * @deprecated from 7.0, use {@link ContentMode#XHTML} instead    
+ */
@Deprecated
public static final ContentMode CONTENT_XHTML = ContentMode.XHTML;