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?