title: Is it possible to catch any exception thrown by an object in it's factory?
body: <p>For example:</p>
  
  <pre><code>class Test{
  
      public function doStuff(){
          throw new Exception("Something gone wrong...");
      }
  
  }
  
  class TestFactory{
  
      public static function getTest(){
  
          try{
              $testObj = new Test();
              return $testObj;
          }catch(Exception $e){
              //... handle $e ...
              throw new Exception("Exception from factory");
          }
  
      }
  
  }
  </code></pre>
  
  <p>When I call "doStuff()", its possible to throw "Exception from factory" instead of "Something gone wrong..." ?</p>
  
  <pre><code>$obj = TestFactory::getTest();
  $obj-&gt;doStuff(); //Called outside TestFactory
  </code></pre>