code: public boolean isMatchedByPreviousException(AnalyzedToken token) {
      if (exceptionValidPrevious) {
        for (PatternToken testException : previousExceptionList) {
          if (!testException.exceptionValidNext) {
            if (testException.isMatched(token)) {
              return true;
            }
          }
        }
      }
      return false;
    }
docs: Checks whether an exception for a previous token matches (in case the exception had scope ==
  "previous").
  @param token {@link AnalyzedToken} to check matching against.
  @return True if any of the exceptions matches.