View Javadoc
1   import java.io.BufferedReader;
2   import java.io.IOException;
3   
4   
5   public class UseInitCause {
6   
7   	public String firstLine(BufferedReader r) {
8   		try {
9   			return r.readLine();
10  		} catch (IOException e) {
11  			throw (RuntimeException) new RuntimeException("IO Error").initCause(e);
12  		}
13  	}
14  
15  }