code: @Nonnull
    @OverrideOnDemand
    protected IErrorLevel getErrorLevel (final int nSeverity)
    {
      switch (nSeverity)
      {
        case ValidationEvent.WARNING:
          return EErrorLevel.WARN;
        case ValidationEvent.ERROR:
          return EErrorLevel.ERROR;
        case ValidationEvent.FATAL_ERROR:
          return EErrorLevel.FATAL_ERROR;
        default:
          if (LOGGER.isWarnEnabled ())
            LOGGER.warn ("Unknown JAXB validation severity: " + nSeverity + "; defaulting to error");
          return EErrorLevel.ERROR;
      }
    }
docs: Get the error level matching the passed JAXB severity.
  
  @param nSeverity
  The JAXB severity.
  @return The matching {@link IErrorLevel}. Never <code>null</code>.