title: Can nested threads throw exceptions for parent thread?
body: <p>I have a <code>Controller</code> class and a <code>Monitor</code> worker thread.
  The controller thread looks something like this</p>
  
  <pre><code>public class ControllerA {
      public void ControllerA(){
          try{
              doWork();
          }
          catch(OhNoException e){
          //catch exception
          }
  
      public void doWork() throws OhNoException{
  
        new Thread(new Runnable(){
          public void run(){
          //Needs to monitor resources of ControllerA, 
          //if things go wrong, it needs to throw OhNoException for its parent
          }
          }).start();
  
        //do work here
  
      }
  }
  </code></pre>
  
  <p>Is such setup feasible? How do I throw exception to the outside of the thread?</p>