Code example for RuntimeException

0
     */ 
    public char readChar() { 
	try { 
	    io.read(buf,0,1);
	} catch (IOException e) {
	    throw new RuntimeException("Could not read from file");
	} 
	return (char)buf[0];
    } 
 
     
     
    /** 
     * Describe <code>parse</code> method here. 
     * 
     * @return a <code>BufferedReader</code> value 
     */ 
    public BufferedInputStream parse() {
	throw new RuntimeException("parse not implemented!");
    } 
Stop searching for code, let great code find you!  Add Codota to your java IDE