- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
boolean breakIt = true;
while (true) {
breakIt = true;
try {
// write your code here
} catch (Exception e) {
if (e.getMessage().contains("element is not attached")) {
breakIt = false;
}
}
if (breakIt) {
break;
}
}
Lorip1971 22.11.2018 18:10 # 0
UPPERCASE 22.11.2018 19:53 # +1
roman-kashitsyn 22.11.2018 18:25 # +1
I like to break it break it
Steve_Brown 22.11.2018 19:07 # 0
guest8 23.11.2018 00:56 # −999
CkpunaJIb 25.11.2018 03:14 # 0
Steve_Brown 27.11.2018 11:08 # 0
roman-kashitsyn 27.11.2018 12:49 # 0
влажную
F57 27.11.2018 16:13 # 0