title: Catching exception thrown by method inside method
body: <p>So let's say I have a class App which is where I am doing error handling and on this particular class I do</p>
  
  <pre><code>   try {
          layermethod();
      } catch (IOException e) {
          Message.fileNotFound(filename);
      }
  </code></pre>
  
  <p><code>layermethod()</code> is of the <code>Layer</code> class which is a "mask" class that I use to pass info from the App to the Core application and into objects.</p>
  
  <p>So in the Class layer <code>layermethod()</code> is only defined as </p>
  
  <pre><code> public void layermethod(Parser _parser) {
      _parser.throwmethod(_interpreter);
      }
  </code></pre>
  
  <p>And only in the Parser Class I do have the method that actually throws the exception</p>
  
  <pre><code>  public void throwmethod(Parser _parser) throws IOException {
          // method implementation
      }
  </code></pre>
  
  <p>Unfortunately as is, I get the error</p>
  
  <pre><code>error: unreported exception IOException; must be caught or declared to be thrown
          _parser.throwmethod(_parser);
                           ^
  </code></pre>
  
  <p>Because I'm not catching the exception on the layer class.</p>
  
  <p>Is there any way I can only do the error handling (catch the exceptions) on the App class only? Assuming I can't ditch the layer class </p>