class YamlUtil {

  public static String writeValueAsString(Object value) {
    try {
      return mapper.writeValueAsString(value);
    } catch (JsonProcessingException jpe) {
      throw new YamlWriteException(jpe);
    }
  }

  private  YamlUtil();

}