aboutsummaryrefslogtreecommitdiffstats
path: root/uitest/src/com/vaadin/tests/components/ui/UIInitException.java
diff options
context:
space:
mode:
Diffstat (limited to 'uitest/src/com/vaadin/tests/components/ui/UIInitException.java')
-rw-r--r--uitest/src/com/vaadin/tests/components/ui/UIInitException.java23
1 files changed, 23 insertions, 0 deletions
diff --git a/uitest/src/com/vaadin/tests/components/ui/UIInitException.java b/uitest/src/com/vaadin/tests/components/ui/UIInitException.java
new file mode 100644
index 0000000000..e225ae73d8
--- /dev/null
+++ b/uitest/src/com/vaadin/tests/components/ui/UIInitException.java
@@ -0,0 +1,23 @@
+package com.vaadin.tests.components.ui;
+
+import com.vaadin.server.WrappedRequest;
+import com.vaadin.tests.components.AbstractTestUI;
+
+public class UIInitException extends AbstractTestUI {
+
+ @Override
+ protected void setup(WrappedRequest request) {
+ throw new RuntimeException("Catch me if you can");
+ }
+
+ @Override
+ protected String getTestDescription() {
+ return "Throwing an exception in application code during a browser details request should show a sensible message in the client";
+ }
+
+ @Override
+ protected Integer getTicketNumber() {
+ return Integer.valueOf(8243);
+ }
+
+}