title: SWIG %rename a c++98 method into Java that includes throws RuntimeException
body: <p>SWIG has a nice way to re-throw c++ exception into Java exception just by adding:</p>
  <pre><code>try
  {
      $action
  }
  catch(std::runtime_error&amp; e)
  {
      SWIG_exception(SWIG_RuntimeError, e.what());
  }
  </code></pre>
  <p>However this does not make the method specify that they throw exceptions.
  C++98 does not have the throw() specifier, but I would like to have the Java interface include the throws information. Something like:</p>
  <pre><code> %rename Module::method Module::method throws SWIG_RuntimeError;
  </code></pre>