blob: 60e76c1781a359eb6e5b166f2b359111e4d6501e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
// "Surround with try/catch" "true"
public class ExTest {
public static String maybeThrow(String data) throws Ex {
throw new Ex(data);
}
{
String[] a = {mayb<caret>eThrow("")};
System.out.println(a);
}
private static class Ex extends Exception {
public Ex(String s) {
}
}
}
|