tianhao
02/09/2019, 12:14 AMkevinmost
02/09/2019, 1:19 AMwhen
on the exceptions internally:
try {
// ...
} catch (e: Exception) {
when(e) {
is IllegalStateException, IllegalArgumentException -> {
// ...
}
else -> throw e
}
gildor
02/09/2019, 1:51 AMghedeon
02/09/2019, 9:27 AMrunCatching{}
.