protected void handleAndRaise(String msg, Exception e) {
StringBuilder sb = new StringBuilder();
sb.append(msg).append(" - Parser was at record: ").append(recordCount+1);
if (e instanceof JsonParseException) {
JsonParseException ex = JsonParseException.class.cast(e);
sb.append(" column: ").append(ex.getLocation().getColumnNr());
}
throw new DrillRuntimeException(sb.toString(), e);
}