try {
String stringValue = DataType.asString(value);
final String quoted = quote(stringValue);
getWriter().write(quoted);
} catch (TypeCastException e) {
throw new DataSetException("table=" +
_activeMetaData.getTableName() + ", row=" + i +
", column=" + columnName +
", value=" + value, e);
}
}
if (i < columns.length - 1) getWriter().write(",");
}
getWriter().write(System.getProperty("line.separator"));
} catch (IOException e) {
throw new DataSetException(e);
}
}