Here you can find the source of readLineHard(BufferedReader in)
public static String readLineHard(BufferedReader in)
//package com.java2s; import java.io.BufferedReader; import java.io.IOException; public class Main { public static String readLineHard(BufferedReader in) { try {// w w w . j a va 2 s . c om return in.readLine(); } catch (IOException e) { throw new RuntimeException(e); } } }