docs: protected void associateConnection(Object handle, MCWrapper fromWrapper) throws ResourceException {
  
          final boolean isTracingEnabled = TraceComponent.isAnyTracingEnabled();
  
          if (isTracingEnabled && tc.isEntryEnabled()) {
              Tr.entry(this, tc, "associateConnection");
          }
  
          try {
              mc.associateConnection(handle);
              if (fromWrapper != null) {
                  fromWrapper.decrementHandleCount();
              }
              incrementHandleCount();
          } catch (ResourceException e) {
  
              com.ibm.ws.ffdc.FFDCFilter.processException(e, "com.ibm.ejs.j2c.MCWrapper.associateConnection", "965", this);
              String pmiName = "No longer available";
              if (cm != null) {
                  pmiName = gConfigProps.cfName;
              }
              Tr.error(tc, "FAILED_TO_ASSOCIATE_CONNECTION_J2CA0058", new Object[] { handle, mc, e, pmiName });
  
              if (isTracingEnabled && tc.isEntryEnabled()) {
                  Tr.exit(this, tc, "associateConnection", "Caught a ResourceException exception from mc.associateConnection()");
              }
  
              throw e;
  
          } catch (Exception e) {
  
              com.ibm.ws.ffdc.FFDCFilter.processException(e, "com.ibm.ejs.j2c.MCWrapper.associateConnection", "972", this);
              if (isTracingEnabled && tc.isDebugEnabled()) {
                  Tr.debug(this, tc, "associateConnection: Caught a Non resource exception from mc.associateConnection()");
              }
              String cfName = "No longer available";
              if (cm != null) {
                  cfName = gConfigProps.cfName;
              }
              Tr.error(tc, "FAILED_CONNECTION_J2CA0021", new Object[] { e, cfName });
              ResourceException re = new ResourceException("associateConnection: Failed to associate connection. Exception caught.");
              re.initCause(re);
              throw re;
  
          }
  
          if (isTracingEnabled && tc.isEntryEnabled()) {
              Tr.exit(this, tc, "associateConnection");
          }
  
      }