https://kotlinlang.org logo
#android
Title
# android
k

kevmoturi

06/27/2017, 3:51 PM
So question for android devs using kotlin, has the lack of checked exceptions resulted in any major issues? I am thinking even though checked exceptions get abused and ignored in java, not having the ability to know when a method may throw an exception is kind of dangerous
p

Paul Woitaschek

06/27/2017, 5:20 PM
Nope, No issues here. You have to think about what you are using and check if something throws exceptions. Most of the time I was rethrowing checked exceptions as runtime exceptions. And the ones I really expect like network ioexceptions I know I have to catch them manually
2 Views