Package org.springframework.batch.item
Class ParseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.batch.item.ItemReaderException
org.springframework.batch.item.ParseException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
FlatFileParseException
Exception indicating that an error has been encountered parsing IO, typically from a
file.
- Author:
- Lucas Ward, Ben Hale, Mahmoud Ben Hassine
- See Also:
-
Constructor Summary
ConstructorDescriptionParseException
(String message) Create a newParseException
based on a message.ParseException
(String message, Throwable cause) Create a newParseException
based on a message and another exception. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ParseException
Create a newParseException
based on a message and another exception.- Parameters:
message
- the message for this exceptioncause
- the other exception
-
ParseException
Create a newParseException
based on a message.- Parameters:
message
- the message for this exception
-