docs: protected JmsJcaSession createJcaSession(boolean transacted) throws JMSException {
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
              SibTr.entry(this, tc, "createJcaSession", transacted);
          JmsJcaSession jcaSess = null;
  
          // If we have a JCA connection, then make a JCA session
          if (jcaConnection != null) {
              try {
                  jcaSess = jcaConnection.createSession(transacted);
              } catch (Exception e) { // ResourceE, IllegalStateE, SIE, SIErrorE
                  // No FFDC code needed
                  // d238447 Generate FFDC for these cases.
                  throw (JMSException) JmsErrorUtils.newThrowable(
                                                                  JMSException.class,
                                                                  "JCA_CREATE_SESS_CWSIA0024",
                                                                  null,
                                                                  e,
                                                                  "JmsConnectionImpl.createSession#1",
                                                                  this,
                                                                  tc);
              }
          }
          else {
              if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
                  SibTr.debug(this, tc, "jcaConnection is null, returning null jcaSess");
          }
  
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
              SibTr.exit(this, tc, "createJcaSession", jcaSess);
          return jcaSess;
      }