Class IncorrectTokenCountException

All Implemented Interfaces:
Serializable

public class IncorrectTokenCountException extends FlatFileFormatException
Exception indicating that an incorrect number of tokens have been found while parsing a file.
Since:
1.1
Author:
Lucas Ward, "Michael Minella", Mahmoud Ben Hassine
See Also:
  • Constructor Details

    • IncorrectTokenCountException

      public IncorrectTokenCountException(String message, int expectedCount, int actualCount, String input)
    • IncorrectTokenCountException

      public IncorrectTokenCountException(String message, int expectedCount, int actualCount)
    • IncorrectTokenCountException

      public IncorrectTokenCountException(int expectedCount, int actualCount, String input)
    • IncorrectTokenCountException

      public IncorrectTokenCountException(int expectedCount, int actualCount)
  • Method Details

    • getActualCount

      public int getActualCount()
    • getExpectedCount

      public int getExpectedCount()
    • getInput

      public String getInput()
      Description copied from class: FlatFileFormatException
      Retrieve the input that caused this exception.
      Overrides:
      getInput in class FlatFileFormatException
      Returns:
      the line that caused the exception
      Since:
      2.2.6