Deprecate throws annotation in favor of Throws
This commit is contained in:
@@ -4,13 +4,13 @@ class E1: Exception()
|
||||
class E2: Exception()
|
||||
|
||||
interface Trait {
|
||||
throws()
|
||||
@Throws()
|
||||
fun none()
|
||||
|
||||
throws(E1::class)
|
||||
@Throws(E1::class)
|
||||
fun one()
|
||||
|
||||
throws(E1::class, E2::class)
|
||||
@Throws(E1::class, E2::class)
|
||||
fun two()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user