Class IncorrectTokenCountException

  • All Implemented Interfaces:
    java.io.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"
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      intgetActualCount() 
      intgetExpectedCount() 
      java.lang.StringgetInput()
      Retrieve the input that caused this exception.
      • 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

      • IncorrectTokenCountException

        public IncorrectTokenCountException​(java.lang.String message,
                                            int expectedCount,
                                            int actualCount,
                                            java.lang.String input)
      • IncorrectTokenCountException

        public IncorrectTokenCountException​(java.lang.String message,
                                            int expectedCount,
                                            int actualCount)
      • IncorrectTokenCountException

        public IncorrectTokenCountException​(int expectedCount,
                                            int actualCount,
                                            java.lang.String input)
      • IncorrectTokenCountException

        public IncorrectTokenCountException​(int expectedCount,
                                            int actualCount)
    • Method Detail

      • getActualCount

        public int getActualCount()
      • getExpectedCount

        public int getExpectedCount()