code: public Session getSession( JcrSessionHandle handle ) {
          if ((handles.size() > 0) && (handles.get(0) == handle)) {
              return session;
          }
          throw new java.lang.IllegalStateException("Inactive logical session handle called");
      }
docs: Searches session object using handle.
  
  @param handle the session handle
  @return session related to specified handle.