code: private Severity getSeverity(SeverityEnumType severityType, Severity defaultSeverity) throws RuleException {
          return severityType == null ? defaultSeverity : Severity.fromValue(severityType.value());
      }
docs: Get the severity.
  
  @param severityType
  The severity type.
  @param defaultSeverity
  The default severity.
  @return The severity.