Hi all,
I am trying to create a kotlin Multiplatform library which can later convert into java and javascript using IDEA 2019.3, kotlin 1.3 .
From the doc, I understood that there is no checked exception in kotlin and for java we can use Throws https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.native/-throws/index.html. In commonMain of multiplatform project, I could not use Throws and I understood the reason behind it. I would like to know how people usually handle Checked exception in commonMain. I am planning to throw an unchecked exception.
Is there a way to convert the ’ unchecked exception’ see as a checked exception in java classes?