docs: private static void throwFault(String code, String message, Throwable t) throws PutEventsFault {
          if (LOG.isLoggable(Level.SEVERE)) {
              LOG.log(Level.SEVERE, "Throw Fault " + code + " " + message, t);
          }
  
          FaultType faultType = new FaultType();
          faultType.setFaultCode(code);
          faultType.setFaultMessage(message);
  
          StringWriter stringWriter = new StringWriter();
          PrintWriter printWriter = new PrintWriter(stringWriter);
  
          t.printStackTrace(printWriter);
  
          faultType.setStackTrace(stringWriter.toString());
  
          throw new PutEventsFault(message, faultType, t);
      }