docs: @Override
      public void setUOWTimeout(int uowType, int timeout) {
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
              Tr.entry(tc, "setUOWTimeout", new Object[] { Integer.valueOf(uowType), Integer.valueOf(timeout) });
  
          switch (uowType) {
              case UOWSynchronizationRegistry.UOW_TYPE_GLOBAL_TRANSACTION:
                  try {
                      EmbeddableTransactionManagerFactory.getTransactionManager().setTransactionTimeout(timeout);
                  } catch (Exception e) {
                      final IllegalArgumentException iae = new IllegalArgumentException(e);
                      if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
                          Tr.exit(tc, "setUOWTimeout", iae);
                      throw iae;
                  }
                  break;
  
              default:
                  final IllegalArgumentException iae = new IllegalArgumentException("Invalid UOW type: " + uowType);
                  if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
                      Tr.exit(tc, "setUOWTimeout", iae);
                  throw iae;
          }
  
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
              Tr.exit(tc, "setUOWTimeout");
      }