private void processRawString(String rawEventException) {
    int frameIndex = 0;
    List<StackTraceFrame> stackTrace = new ArrayList<StackTraceFrame>();
    List<String> lines = stringToListOfLines(rawEventException);

    for (String line : lines) {
      Matcher exceptionDetailsMatcher = exceptionDetailsPattern.matcher(line);
      if (exceptionDetailsMatcher.find()) {
        this._type = exceptionDetailsMatcher.group(1);
        this._message = exceptionDetailsMatcher.group(2);
      } else {
        Matcher stackTraceLineMatcher = stackTraceLinePattern.matcher(line);
        if (stackTraceLineMatcher.find()) {
          String source = stackTraceLineMatcher.group(1);
          String call = stackTraceLineMatcher.group(2);
          String fileDetails = stackTraceLineMatcher.group(3);
          StackTraceFrame stackTraceFrame = new StackTraceFrame(frameIndex, source, call, fileDetails);
          stackTrace.add(stackTraceFrame);
          frameIndex += 1;
        }
      }
    }
    this._stackTrace = stackTrace;
  }
Process a raw exception string and sets the field of EventException Object
@param rawEventException exception in a string form
app/com/linkedin/drelephant/exceptions/EventException.java