title: How to catch the exception thrown from a Spring AOP Advice
body: <p>I have my own exception "MyOwnException" and throw this exception from my service class</p>
  
  <pre><code>public void service() throws MyOwnException
  {
  // some code 
  
  }
  </code></pre>
  
  <p>Now I want to catch MyOwnException in an advice and rethrow a brand-new Exception</p>
  
  <pre><code>public class SimpleThrowsAdvice implements ThrowsAdvice {
  
      public void afterThrowing(Method method, Object[] args, Object target,
                  MyOwnException ex) throws Throwable {
          throw new Exception("new Description",ex);
      }
  }
  </code></pre>
  
  <p>Now, how can I catch the re-thrown <code>Exception</code> from the above Advice <code>SimpleThrowsAdvice</code>?</p>