I’ve noticed @Throws annotation being added to some auto-translated Java -> Kotlin code. Given that Kotlin does not use checked exceptions, is this annotation optional; i.e. only required if I need exception inter-op with Java code?
b
benleggiero
03/25/2017, 4:23 AM
Yes, it's only used for compile-time hinting like warnings