code: public static InternalException throwInternalException(String module,
                                                           InvocationTargetException ite)
      throws InternalException
    {
      try
      {
        throw ite.getTargetException();
      }
      catch(Error e)
      {
        throw e;
      }
      catch(RuntimeException e)
      {
        throw e;
      }
      catch(Throwable e)
      {
        throw new InternalException(module, e);
      }
    }
docs: Convenient call to adapt the <code>InvocationTargetException</code> into an
  <code>InternalException</code>
  
  @param module the module
  @param ite the invocation target exception (coming from <code>Method.invoke</code>)
  @throws InternalException this method always throw an exception at the end: either a
  <code>RuntimeException</code> or <code>Error</code> or <code>InternalException</code>