title: Camel - Catch thrown exception in Global onException
body: <p>I am trying to catch my own exception in the global onException. I have thrown my Exception after a Jaxb exception was caught. However the CustomException does not get caught by the onException</p>
  
  <pre><code>onException(Exception.class)
      .handled(true)
      .log("Globally Caught CustomException") 
      .end();
  
  from("start:direct")
      .doTry()
          .unmarshal(soapMessage)
      .doCatch(JAXBException.class)
          .log("Locally Caught JAXBException")
          .throwException(new CustomException()
      .endDoTry();
  </code></pre>