KT-24515 Intention to add an exception under the cursor to @Throws annotations
This commit is contained in:
committed by
Yan Zhulanow
parent
3918ec71be
commit
a621171d9b
+10
@@ -0,0 +1,10 @@
|
||||
// WITH_RUNTIME
|
||||
// DISABLE-ERRORS
|
||||
// IS_APPLICABLE: false
|
||||
|
||||
class FooException : Exception()
|
||||
|
||||
@Throws(exceptionClasses = FooException::class)
|
||||
fun test() {
|
||||
<caret>throw FooException()
|
||||
}
|
||||
Reference in New Issue
Block a user