https://algs4.cs.princeton.edu/code/edu/princeton/cs/algs4/Graph.java.html

「public Graph(In in)」というコンストラクターの中に以下の例外処理のコードがあります。

catch (NoSuchElementException e) {
throw new IllegalArgumentException("invalid input format in Graph constructor", e);
}

「NoSuchElementException」という例外をキャッチしていますが、この例外はどこで投げられるのでしょうか?