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

10 lines
212 B
Plaintext
Vendored

// WITH_RUNTIME
// DISABLE-ERRORS
class FooException : Exception()
class BarException : Exception()
@Throws(exceptionClasses = [BarException::class, FooException::class])
fun test() {
throw FooException()
}