Files
kotlin/plugins/scripting/scripting-compiler/testData/integration/exceptionWithCause.kts
2020-10-06 21:43:11 +02:00

10 lines
178 B
Kotlin
Vendored

try {
try {
throw Exception("Error!")
} catch (e: Exception) {
throw Exception("Oh no", e)
}
} catch (e: Exception) {
throw Exception("Top", e)
}