Throw NoSuchElementException in appropriate cases #KT-4998 Fixed

This commit is contained in:
Ilya Ryzhenkov
2014-05-07 16:42:25 +04:00
committed by Andrey Breslav
parent 4ac626c1f2
commit 9ec78a437d
3 changed files with 229 additions and 182 deletions
+1 -2
View File
@@ -99,8 +99,7 @@ public open class HashMap<K, V>(capacity: Int = 0) : MutableMap<K, V> {
}
library
public class NoSuchElementException() : Exception() {
}
public class NoSuchElementException(message: String? = null) : Exception() {}
library
public trait Enumeration<E> {