-
-
Notifications
You must be signed in to change notification settings - Fork 114
Expand file tree
/
Copy path_input.java
More file actions
141 lines (111 loc) · 4.53 KB
/
_input.java
File metadata and controls
141 lines (111 loc) · 4.53 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
public abstract class Throws {
void throwException1() throws RuntimeException {
throw new RuntimeException();
}
void throwException2(String string) throws RuntimeException {
throw new RuntimeException();
}
void throwException3(String string1, String string2, String string3) throws RuntimeException {
throw new RuntimeException();
}
void throwException4() throws RuntimeException, RuntimeException, RuntimeException {
throw new RuntimeException();
}
void throwException5(String string) throws RuntimeException, RuntimeException, RuntimeException {
throw new RuntimeException();
}
void throwException6(String string1, String string2, String string3)
throws RuntimeException, RuntimeException, RuntimeException {
throw new RuntimeException();
}
void throwException7(String string1, String string2, String string3, String string4) throws RuntimeException {
throw new RuntimeException();
}
void throwException8(String string1, String string2, String string3, String string4)
throws RuntimeException, RuntimeException, RuntimeException {
throw new RuntimeException();
}
void throwException9(String string1, String string2, String string3, String string4)
throws RuntimeException, RuntimeException, RuntimeException, RuntimeException {
throw new RuntimeException();
}
void aVeryLongNameForAMethodWichShouldBreakTheExpression()
throws aVeryLongException {}
void aVeryLongNameForAMethodWichShouldBreakTheExpression()
throws aVeryLongException, aVeryLongException {}
void aVeryLongNameForAMethodWichShouldBreakTheExpression()
throws Exception, Exception, Exception, Exception, Exception, Exception, Exception {}
abstract void absThrowException1() throws RuntimeException;
abstract void absThrowException2(String string) throws RuntimeException;
abstract void absThrowException3(String string1, String string2, String string3) throws RuntimeException;
abstract void absThrowException4() throws RuntimeException, RuntimeException, RuntimeException;
abstract void absThrowException5(String string) throws RuntimeException, RuntimeException, RuntimeException;
abstract void absThrowException6(String string1, String string2, String string3)
throws RuntimeException, RuntimeException, RuntimeException;
abstract void absThrowException7(String string1, String string2, String string3, String string4)
throws RuntimeException, RuntimeException, RuntimeException;
abstract void absThrowException8(String string1, String string2, String string3, String string4)
throws RuntimeException, RuntimeException, RuntimeException, RuntimeException;
public Throws(String string1)
throws RuntimeException {
System.out.println("Constructor with throws that should not wrap");
}
public Throws(String string1, String string2, String string3)
throws RuntimeException {
System.out.println("Constructor with throws that should wrap");
}
public Throws(String string1, String string2, String string3, String string4, String string5)
throws RuntimeException {
System.out.println("Constructor with throws that should wrap");
}
public Throws(String string1, String string2, String string3, String string4, String string5)
throws RuntimeException, RuntimeException, RuntimeException, RuntimeException {
System.out.println("Constructor with throws that should wrap");
}
}
interface Example {
void example1(String arg1, String arg2)
throws RuntimeException, RuntimeException, RuntimeException, RuntimeException;
void example2(
String arg1,
String arg2,
String arg3,
String arg4,
String arg5,
String arg6
) throws RuntimeException, RuntimeException, RuntimeException;
void example3(
String arg1,
String arg2,
String arg3,
String arg4,
String arg5,
String arg6
)
throws RuntimeException, RuntimeException, RuntimeException, RuntimeException;
default void example1(String arg1, String arg2)
throws RuntimeException, RuntimeException, RuntimeException, RuntimeException {
throw new RuntimeException();
}
default void example2(
String arg1,
String arg2,
String arg3,
String arg4,
String arg5,
String arg6
) throws RuntimeException, RuntimeException, RuntimeException {
throw new RuntimeException();
}
default void example3(
String arg1,
String arg2,
String arg3,
String arg4,
String arg5,
String arg6
)
throws RuntimeException, RuntimeException, RuntimeException, RuntimeException {
throw new RuntimeException();
}
}