docs: public MessageBean setLocation(final Locator locator) {
          if (locator == null) {
              return this;
          }
          final MessageBean ret = new MessageBean(this);
          if (locator.getSystemId() != null) {
              try {
                  ret.srcFile = new URI(locator.getSystemId());
              } catch (final URISyntaxException e) {
                  throw new RuntimeException("Failed to parse URI '" + locator.getSystemId() + "': " + e.getMessage(), e);
              }
          }
          ret.srcLine = locator.getLineNumber();
          ret.srcColumn = locator.getColumnNumber();
          return ret;
      }