Class FlatFileParseException

  • All Implemented Interfaces:
    java.io.Serializable

    public class FlatFileParseException
    extends ParseException
    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
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      ConstructorDescription
      FlatFileParseException​(java.lang.String message, java.lang.String input) 
      FlatFileParseException​(java.lang.String message, java.lang.String input, int lineNumber) 
      FlatFileParseException​(java.lang.String message, java.lang.Throwable cause, java.lang.String input, int lineNumber) 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      java.lang.StringgetInput() 
      intgetLineNumber() 
      • 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

      • FlatFileParseException

        public FlatFileParseException​(java.lang.String message,
                                      java.lang.String input)
      • FlatFileParseException

        public FlatFileParseException​(java.lang.String message,
                                      java.lang.String input,
                                      int lineNumber)
      • FlatFileParseException

        public FlatFileParseException​(java.lang.String message,
                                      java.lang.Throwable cause,
                                      java.lang.String input,
                                      int lineNumber)
    • Method Detail

      • getInput

        public java.lang.String getInput()
      • getLineNumber

        public int getLineNumber()