Class FlatFileParseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.batch.item.ItemReaderException
org.springframework.batch.item.ParseException
org.springframework.batch.item.file.FlatFileParseException
- All Implemented Interfaces:
Serializable
Exception thrown when errors are encountered parsing flat files. The original input,
typically a line, can be passed in, so that latter catches can write out the original
input to a log, or an error table.
- Author:
- Lucas Ward, Ben Hale, Mahmoud Ben Hassine
- See Also:
-
Constructor Summary
ConstructorDescriptionFlatFileParseException
(String message, String input) FlatFileParseException
(String message, String input, int lineNumber) FlatFileParseException
(String message, Throwable cause, String input, int lineNumber) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
FlatFileParseException
-
FlatFileParseException
-
FlatFileParseException
-
-
Method Details
-
getInput
-
getLineNumber
public int getLineNumber()
-