Support [throws] annotation
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
class E1: Exception()
|
||||
class E2: Exception()
|
||||
|
||||
class Test {
|
||||
throws()
|
||||
fun none() {}
|
||||
|
||||
throws(javaClass<E1>())
|
||||
fun one() {}
|
||||
|
||||
throws(javaClass<E1>(), javaClass<E2>())
|
||||
fun two() {}
|
||||
}
|
||||
Reference in New Issue
Block a user