code: public boolean isExceptionMatched(AnalyzedToken token) {
      if (exceptionSet) {
        for (PatternToken testException : exceptionList) {
          if (!testException.exceptionValidNext) {
            if (testException.isMatched(token)) {
              return true;
            }
          }
        }
      }
      return false;
    }
docs: Checks whether an exception matches.
  @param token AnalyzedToken to check matching against
  @return True if any of the exceptions matches (logical disjunction).