Deprecate throws annotation in favor of Throws

This commit is contained in:
Denis Zharkov
2015-09-01 17:34:20 +03:00
parent 9254b1b461
commit 2b76941733
21 changed files with 44 additions and 44 deletions
@@ -3,11 +3,11 @@ package test
class E1: Exception()
class E2: Exception()
throws()
@Throws()
fun none() {}
throws(E1::class)
@Throws(E1::class)
fun one() {}
throws(E1::class, E2::class)
@Throws(E1::class, E2::class)
fun two() {}