类 IncorrectTokenCountException
- java.lang.Object
- java.lang.Throwable
- java.lang.Exception
- java.lang.RuntimeException
- org.springframework.batch.item.file.transform.FlatFileFormatException
- org.springframework.batch.item.file.transform.IncorrectTokenCountException
- 所有已实现的接口:
java.io.Serializable
public class IncorrectTokenCountException extends FlatFileFormatException
Exception indicating that an incorrect number of tokens have been found while parsing a file.- 从以下版本开始:
- 1.1
- 作者:
- Lucas Ward, "Michael Minella"
- 另请参阅:
- 序列化表格
构造器概要
构造器 构造器 说明 IncorrectTokenCountException(int expectedCount, int actualCount)
IncorrectTokenCountException(int expectedCount, int actualCount, java.lang.String input)
IncorrectTokenCountException(java.lang.String message, int expectedCount, int actualCount)
IncorrectTokenCountException(java.lang.String message, int expectedCount, int actualCount, java.lang.String input)
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 int
getActualCount()
int
getExpectedCount()
java.lang.String
getInput()
Retrieve the input that caused this exception.
构造器详细资料
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)
方法详细资料
getActualCount
public int getActualCount()
getExpectedCount
public int getExpectedCount()
getInput
public java.lang.String getInput()
从类复制的说明:FlatFileFormatException
Retrieve the input that caused this exception.- 覆盖:
getInput
在类中FlatFileFormatException
- 返回:
- the line that caused the exception
- 从以下版本开始:
- 2.2.6