Create from usage: Using UnsupportedOperationException for the file template instead.
This commit is contained in:
@@ -3,7 +3,7 @@ class Foo<T> {
|
||||
fun component1(): Int { return 0 }
|
||||
fun component2(): Int { return 0 }
|
||||
fun component3(): Any {
|
||||
throw Exception("not implemented") //To change body of created methods use File | Settings | File Templates.
|
||||
throw UnsupportedOperationException("not implemented") //To change body of created methods use File | Settings | File Templates.
|
||||
}
|
||||
}
|
||||
fun foo() {
|
||||
|
||||
@@ -3,7 +3,7 @@ class Foo<T> {
|
||||
fun component1(): Int { return 0 }
|
||||
fun component2(): Int { return 0 }
|
||||
fun component3(): String {
|
||||
throw Exception("not implemented") //To change body of created methods use File | Settings | File Templates.
|
||||
throw UnsupportedOperationException("not implemented") //To change body of created methods use File | Settings | File Templates.
|
||||
}
|
||||
}
|
||||
fun foo() {
|
||||
|
||||
Reference in New Issue
Block a user