docs: OTMConnection getConnection()
      {
          if (m_connection == null)
          {
              OTMConnectionRuntimeException ex = new OTMConnectionRuntimeException("Connection is null.");
              sendEvents(ConnectionEvent.CONNECTION_ERROR_OCCURRED, ex, null);
          }
          return m_connection;
      }