code: public static Throwable generateIncidentV2WithException(
        String serverUrl,
        String sessionToken,
        Throwable exc,
        String jobId,
        String requestId)
    {
      new Incident(serverUrl, sessionToken, exc, jobId, requestId).trigger();
      return exc;
    }
docs: Makes a V2 incident object and triggers it, effectively reporting the
  given exception to GS and possibly to crashmanager.
  <p>
  This function should be proceeded by a throw as it returns the
  originally given exception.
  
  @param serverUrl    url of GS to report incident to
  @param sessionToken session token to be used to report incident
  @param exc          the Throwable we should report
  @param jobId        jobId that failed
  @param requestId    requestId that failed
  @return the given Exception object