code: void rollbackApplicationLocalTransaction() throws ResourceException {
  
          if (TraceComponent.isAnyTracingEnabled() && TRACE.isEntryEnabled()) {
              SibTr.entry(this, TRACE, "rollbackApplicationLocalTransaction");
          }
  
          if (_applicationLocalTransaction != null) {
  
              SIUncoordinatedTransaction uncoordinatedTransaction = _applicationLocalTransaction
                              .getUncoordinatedTransaction();
  
              try {
  
                  uncoordinatedTransaction.rollback();
  
              } catch (SIException exception) {
                  // No FFDC code needed
  
                  if (TraceComponent.isAnyTracingEnabled() && TRACE.isEntryEnabled()) {
                      SibTr.exception(this, TRACE, exception);
                  }
                  throw new ResourceException(NLS.getFormattedMessage(
                                                                      "CONTAINER_ROLLBACK_FAILED_CWSIV0163",
                                                                      new Object[] { exception }, null), exception);
  
              } catch (SIErrorException exception) {
                  // No FFDC code needed
  
                  if (TraceComponent.isAnyTracingEnabled() && TRACE.isEntryEnabled()) {
                      SibTr.exception(this, TRACE, exception);
                  }
                  throw new ResourceException(NLS.getFormattedMessage(
                                                                      "CONTAINER_ROLLBACK_FAILED_CWSIV0163",
                                                                      new Object[] { exception }, null), exception);
  
              }
  
          }
  
          if (TraceComponent.isAnyTracingEnabled() && TRACE.isEntryEnabled()) {
              SibTr.entry(this, TRACE, "rollbackApplicationLocalTransaction");
          }
  
      }
docs: Rolls back any currently active application local transaction. Called by
  the managed connection's <code>LocalTransaction</code> implementation
  when a <code>rollback</code> occurs without a corresponding
  <code>begin</code>. This indicates that the container is attempting a
  cleanup of outstanding application local transaction work. The container
  shouldn't do this unless it has received a
  <code>LOCAL_TRANSACTION_STARTED</code> event an no corresponding
  completion event. If this is the case then we <b>should </b> have an
  active application local transaction but, on the off chance that we
  don't, do nothing.
  
  @throws ResourceException
  if the rollback fails