KT-24515 Intention to add an exception under the cursor to @Throws annotations

This commit is contained in:
Toshiaki Kameyama
2018-11-05 20:25:00 +09:00
committed by Yan Zhulanow
parent 3918ec71be
commit a621171d9b
48 changed files with 623 additions and 0 deletions
@@ -0,0 +1,10 @@
// WITH_RUNTIME
// DISABLE-ERRORS
class FooException : Exception()
class BarException : Exception()
@Throws(exceptionClasses = BarException::class)
fun test() {
<caret>throw FooException()
}