Documentation for this section has not yet been entered.
Type Reason Java.Lang.IllegalStateException if this Scanner has been closed. Java.Util.NoSuchElementException if input has been exhausted. Java.Util.InputMismatchException if the next token can not be translated into a valid boolean value.
Returns the next token as a boolean. This method will block if input is being read.