code: public void putExceptionThrownRule(ExceptionThrownRule exceptionThrownRule) {
          exceptionThrownRuleList.add(exceptionThrownRule);
  
          String[] exceptionTypes = exceptionThrownRule.getExceptionTypes();
          if (exceptionTypes != null) {
              for (String exceptionType : exceptionTypes) {
                  if (exceptionType != null) {
                      if (!exceptionThrownRuleMap.containsKey(exceptionType)) {
                          exceptionThrownRuleMap.put(exceptionType, exceptionThrownRule);
                      }
                  }
              }
          } else {
              defaultExceptionThrownRule = exceptionThrownRule;
          }
      }
docs: Puts the exception thrown rule.
  
  @param exceptionThrownRule the exception thrown rule