``` scala
case None if(hasNext) => {...}
case None => throw new NoSuchElementException
```