Create from usage: Using UnsupportedOperationException for the file template instead.

This commit is contained in:
Jack Zhou
2013-05-01 17:34:20 -04:00
parent c7c8c096f7
commit eadb73c9f8
24 changed files with 24 additions and 24 deletions
@@ -4,7 +4,7 @@ class FooIterator<T> {
throw Exception("not implemented")
}
fun hasNext(): Boolean {
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.
}
}
class Foo<T> {
@@ -4,7 +4,7 @@ class FooIterator<T> {
throw Exception("not implemented")
}
fun hasNext(): Boolean {
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.
}
}
class Foo<T> {