Documentation for this section has not yet been entered.
Type Reason Java.Lang.IllegalStateException if the Scanner is closed. Java.Util.NoSuchElementException if no line can be found, e.g. when input is an empty string.
Returns the skipped input and advances the Scanner to the beginning of the next line. The returned result will exclude any line terminator. When searching, if no line terminator is found, then a large amount of input will be cached. If no line at all can be found, a NoSuchElementException will be thrown.