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

9 lines
178 B
Kotlin
Vendored

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