title: How do I rethrow an exception that contains information about an original exception?
body: <p>So I basically have to isolate 2 layers of the application from one another by exceptions.</p>
  
  <p>I have this WLST 12c script (python 2.2), that goes like</p>
  
  <pre><code>try:
      something something...
  except java.lang.UnsuportedOpperationException, (a, b):
      pass
  except java.lang.reflect.UndeclaredThrowableException, (a, b):
      pass
  </code></pre>
  
  <p>I'd like to be able to re-raise one of my own types of exception, that contains a message about what caused the previous exception (and no, i don't know what the <code>a</code> and <code>b</code> parameters are, but i'm guessing one of them should be the exception description).</p>
  
  <p>I'm a java guy myself, so i am looking forward to something like</p>
  
  <pre><code>try {
      something something...
  } catch (Exception e) {
      throw new RuntimeException(e, "something horrible happened");
  }
  </code></pre>