docs: public static Exception unwrapInvocationTargetException(InvocationTargetException e) throws Exception {
          Throwable cause = e.getCause();
          if (cause instanceof Error) {
              throw (Error) cause;
          } else if (cause instanceof Exception) {
              throw (Exception) cause;
          } else {
              throw new WeldException(cause);
          }
      }