class MultiRowExceptions extends ThemisException {

  public static String constructMessage(Map<TableAndRow, IOException> exceptions) {
    String message = "";
    for (Entry<TableAndRow, IOException> rowException : exceptions.entrySet()) {
      message += ("tableAndRow=" + rowException.getKey() + ", exception=" + rowException.getValue() + "\n");
    }
    return message;
  }

  public  MultiRowExceptions(String msg, Map<TableAndRow, IOException> exceptions);

}