title: ConfigurationException in Java?
body: <p>Decided to use Apache's Common Configuration package to parse an XML File.</p>
  
  <p>I decided to do a:</p>
  
  <pre><code>XMLConfiguration xmlConfig = new XMLConfiguration(file);
  </code></pre>
  
  <p>To which Eclipse complained that I haven't caught an exception(<code>Unhandled exception type ConfigurationException</code>), so I hit the trusty <code>surround with try/catch</code> and it added the following code:</p>
  
  <pre><code>try 
      {
          XMLConfiguration xmlConfig = new XMLConfiguration(file);
      } 
      catch (ConfigurationException ex) 
      {
          ex.printStackTrace();
      }
  </code></pre>
  
  <p>However now it's complaining:</p>
  
  <pre><code>No exception of type ConfigurationException can be thrown; an exception type 
  must be a subclass of Throwable
  </code></pre>
  
  <p>I don't understand why it's gave me that error when Eclipse is the one that suggested to add it.</p>