Files
kotlin-fork/idea/testData/intentions/addThrowsAnnotation/hasThrowsWithDifferentClassArgument4.kt
T

9 lines
187 B
Kotlin
Vendored

// WITH_RUNTIME
class FooException : Exception()
class BarException : Exception()
@Throws(exceptionClasses = arrayOf(BarException::class))
fun test() {
<caret>throw FooException()
}