r/Kotlin•
vple

Kotlin common exceptions?

Is there a way to throw exceptions in a Kotlin common module? I have a JVM module that I'm refactoring and I'm not sure the best way to go about this.

Posted Mar 12, 2018, 2:44 AM UTC

51
flaghacker_•

You can throw exceptions in common models I think, but not Java specific ones.

2