will throw a checked exception in Java but Kotlin as no checked exceptions so I'm not sure what to do
n
nfrankel
12/08/2018, 10:15 PM
as you wrote, kotlin has no checked exception
but in java, checked exceptions are only compile time
there’s no such thing as checked exceptions in the bytecode
since you compile with kotlin, you don’t need to try/catch
h
Hexa
12/08/2018, 11:33 PM
@nfrankel thanks but what if an exception is thrown? Do I need to explicitly handle it in this case or just let it occur silently?
g
gildor
12/09/2018, 4:42 AM
Up yo you, what is better for your particular use case, handle this error or not
n
nfrankel
12/09/2018, 8:08 AM
just as with java runtime exception
it’s up to you
to handle it
or to let it bubble up the stack