Join Slack
Powered by
Is there a way to catch multiple exceptions in one...
# getting-started
a
adam-mcneilly
01/02/2018, 2:01 AM
Is there a way to catch multiple exceptions in one line? In Java you could do
catch (ExceptionA | ExceptionB exc) { }
but the Java -> Kotlin converter ends up putting each one in its own catch block. I just want to make sure that's right.
Open in Slack
Previous
Next