user
02/18/2016, 3:37 PMkotlin.jvm.Throws
annotation docs:
•
• throws(IOException::class)
• fun readFile(name: String): String {...}
• ``````
gets rendered as
Example:
throws(IOException::class)fun readFile(name: String): String {...}
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.jvm/-throws/