From ec7c150c3fcbcae73c2a1b36e0425a94dbfeeb16 Mon Sep 17 00:00:00 2001 From: Jeronimo Backes Date: Tue, 14 May 2019 16:16:27 -0300 Subject: [PATCH] fixed issue #324 --- .../java/com/univocity/parsers/common/TextParsingException.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/univocity/parsers/common/TextParsingException.java b/src/main/java/com/univocity/parsers/common/TextParsingException.java index 5c751dda..9ed1546b 100644 --- a/src/main/java/com/univocity/parsers/common/TextParsingException.java +++ b/src/main/java/com/univocity/parsers/common/TextParsingException.java @@ -116,7 +116,7 @@ protected String getDetails() { * @return the record number when the exception occurred. */ public long getRecordNumber() { - return lineIndex; + return recordNumber; }