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

9 lines
201 B
Plaintext
Vendored

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