title: Runtime Exception can be thrown?
body: <p>I have written a class in which i am trying to throw a runtime exception. The code is as follows</p>
  
  <pre><code>public class ExceptionTest 
  
  {
  
      public static void ReadFile() throws RuntimeException, FileNotFoundException{
      try{
  
      BufferedReader b =new BufferedReader(new FileReader("I:\\Workspace\\Basic Java\\bin\\Exceptions\\List To Read.txt"));
      String s = b.readLine();
      while(s!=null){
          System.out.println(s);
          s=b.readLine();
      }
      }
      catch(RuntimeException e){
          throw e;
      }
      catch(FileNotFoundException e){
          throw e;
      } catch (IOException e) {
          // TODO Auto-generated catch block
          e.printStackTrace();
      }
      }
  </code></pre>
  
  <p>And my main class looks like</p>
  
  <pre><code>public class TheMain {
  public static void main(String args[]){
      ExceptionTest.ReadFile();
  }
  }
  </code></pre>
  
  <p>my  doubt is can we throw a run time exception?
  Please help</p>