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
+1 -1
View File
@@ -22,7 +22,7 @@ import kotlin.reflect.KClass
*
* @property exceptionClasses the list of checked exception classes that may be thrown by the function.
*/
public annotation(retention = AnnotationRetention.SOURCE) class throws(public vararg val exceptionClasses: KClass<out Throwable>)
public annotation(retention = AnnotationRetention.SOURCE) class Throws(public vararg val exceptionClasses: KClass<out Throwable>)
/**
* Returns the runtime Java class of this object.