blob: d5f26ade29fcdd54faad1a0dc05c4c0c38f13c3a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
package com.vaadin.tests.components.ui;
import com.vaadin.server.VaadinRequest;
import com.vaadin.tests.components.AbstractTestUI;
public class UIInitException extends AbstractTestUI {
@Override
protected void setup(VaadinRequest 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);
}
}
|