Files
kotlin/compiler/testData/compileJavaAgainstKotlin/method/throws/Constructor.kt
Denis Zharkov 6ef2340eb5 Migrate type of throws parameter to KClass
Change declaration, testData and codegen parts for `throws`
2015-04-21 08:08:31 +03:00

10 lines
208 B
Kotlin

package test
class E1: Exception()
class E2: Exception()
class None [throws()]() {}
class One [throws(E1::class)]()
class Two [throws(E1::class, E2::class)]()
class OneWithParam [throws(E1::class)](a: Int)