Name

java.util.NoSuchElementException

Synopsis

This exception is identical to its J2SE counterpart. It signifies that there are no elements available for the requested operation.

public classNoSuchElementException extends java.lang.RuntimeException {
   // constructors
   public NoSuchElementException();
   public NoSuchElementException(String s);
}

Get Wireless Java now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.