code: public ThreadContextDescriptor deserializeThreadContext(Map<String, String> execProps) throws IOException, ClassNotFoundException {
          return threadContextBytes == null ? null : ThreadContextDeserializer.deserialize(threadContextBytes, execProps);
      }
docs: Returns the thread context that was captured at the point when the task was submitted.
  
  @param execProps execution properties for the persistent task.
  @return the thread context that was captured at the point when the task was submitted.
  @throws IOException
  @throws ClassNotFoundException