org.springframework.batch.item.file.transform
Class IncorrectTokenCountException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.springframework.batch.item.file.transform.FlatFileFormatException
                  extended by org.springframework.batch.item.file.transform.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
See Also:
Serialized Form

Constructor Summary
IncorrectTokenCountException(int expectedCount, int actualCount)
           
IncorrectTokenCountException(String message, int expectedCount, int actualCount)
           
 
Method Summary
 int getActualCount()
           
 int getExpectedCount()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, 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(String message,
                                    int expectedCount,
                                    int actualCount)

IncorrectTokenCountException

public IncorrectTokenCountException(int expectedCount,
                                    int actualCount)
Method Detail

getActualCount

public int getActualCount()

getExpectedCount

public int getExpectedCount()


Copyright © 2009 SpringSource. All Rights Reserved.