title: Catching multiple exception types in one catch block
body: <p>I'd like a cleaner way to obtain the following functionality, to catch <code>AError</code> and <code>BError</code> in one block:</p>
  
  <pre><code>try
  {
      /* something */
  }
  catch( AError, BError $e )
  {
      handler1( $e )
  }
  catch( Exception $e )
  {
      handler2( $e )
  }
  </code></pre>
  
  <p>Is there any way to do this? Or do I have to catch them separately?</p>
  
  <p><code>AError</code> and <code>Berror</code> have a shared base class, but they also share it with other types that I'd like to fall through to <code>handler2</code>, so I can't just catch the base class.</p>