title: While constructing the default constructor can not handle exception : type Exception thrown by implicit super constructor
body: <p>The code works fine until I try to make the code into a constructable class. When I attempt to construct an object from it I get the error </p>
  
  <blockquote>
    <p>"Default constructor cannot handle exception type IOException thrown by implicit super constructor. Must define an explicit constructor"</p>
  </blockquote>
  
  <p>This is when having to throw exceptions to <code>FileReader</code> and <code>BufferedReader</code>.</p>
  
  <p>Thanks</p>
  
  <p>EDIT: </p>
  
  <pre><code>FileReader textFilethree = new FileReader (xFile);
  BufferedReader bufferedTextthree = new BufferedReader (textFilethree) ;
  String lineThree = bufferedTextthree.readLine();
  </code></pre>
  
  <p>The xFile is gotten from the construction. Note that within this construction exceptions are thrown.</p>