private SessionID startSession(String localUserId,String remoteUserId) throws Exception {
  if (!remoteUserId.contains("/"))   throw new Exception("can't start session without JabberID: " + localUserId);
  SessionID sessionId=getSessionId(localUserId,remoteUserId);
  try {
    mOtrEngine.startSession(sessionId);
    return sessionId;
  }
 catch (  OtrException e) {
    OtrDebugLogger.log("startSession",e);
    showError(sessionId,"Unable to start OTR session: " + e.getLocalizedMessage());
  }
  return null;
}

private SessionID startSession ( String localUserId , String remoteUserId ) throws Exception { if ( ! remoteUserId . contains ( "/" ) ) throw new Exception ( "can't start session without JabberID: " + localUserId ) ; SessionID sessionId = getSessionId ( localUserId , remoteUserId ) ; try { mOtrEngine . startSession ( sessionId ) ; return sessionId ; } catch ( OtrException e ) { OtrDebugLogger . log ( "startSession" , e ) ; showError ( sessionId , "Unable to start OTR session: " + e . getLocalizedMessage ( ) ) ; } return null ; }
start a new otr encryption session for the chat session represented by a local user address and a remote user address .
