mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-12 15:53:40 +00:00
10 lines
208 B
Kotlin
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) |