Class ParseException

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    FlatFileParseException

    public class ParseException
    extends ItemReaderException
    Exception indicating that an error has been encountered parsing IO, typically from a file.
    Author:
    Lucas Ward, Ben Hale
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      ConstructorDescription
      ParseException​(java.lang.String message)
      Create a new ParseException based on a message.
      ParseException​(java.lang.String message, java.lang.Throwable cause)
      Create a new ParseException 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ParseException

        public ParseException​(java.lang.String message,
                              java.lang.Throwable cause)
        Create a new ParseException based on a message and another exception.
        Parameters:
        message - the message for this exception
        cause - the other exception
      • ParseException

        public ParseException​(java.lang.String message)
        Create a new ParseException based on a message.
        Parameters:
        message - the message for this exception