mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 00:21:47 +00:00
13 lines
159 B
Kotlin
Vendored
13 lines
159 B
Kotlin
Vendored
package test
|
|
|
|
class E1: Exception()
|
|
class E2: Exception()
|
|
|
|
@Throws()
|
|
fun none() {}
|
|
|
|
@Throws(E1::class)
|
|
fun one() {}
|
|
|
|
@Throws(E1::class, E2::class)
|
|
fun two() {} |