类 FlatFileFormatException
- java.lang.Object
- java.lang.Throwable
- java.lang.Exception
- java.lang.RuntimeException
- org.springframework.batch.item.file.transform.FlatFileFormatException
- 所有已实现的接口:
java.io.Serializable
public class FlatFileFormatException extends java.lang.RuntimeException
Exception indicating that some type of error has occurred while attempting to parse a line of input into tokens.- 作者:
- Lucas Ward, Michael Minella
- 另请参阅:
- 序列化表格
构造器概要
构造器 构造器 说明 FlatFileFormatException(java.lang.String message)
Create a newFlatFileFormatException
based on a message.FlatFileFormatException(java.lang.String message, java.lang.String input)
Create a newFlatFileFormatException
based on a message.FlatFileFormatException(java.lang.String message, java.lang.Throwable cause)
Create a newFlatFileFormatException
based on a message and another exception.
构造器详细资料
FlatFileFormatException
public FlatFileFormatException(java.lang.String message, java.lang.String input)
Create a newFlatFileFormatException
based on a message.- 参数:
message
- the message for this exceptioninput
-String
containing the input for that caused this exception to be thrown.
FlatFileFormatException
public FlatFileFormatException(java.lang.String message)
Create a newFlatFileFormatException
based on a message.- 参数:
message
- the message for this exception
FlatFileFormatException
public FlatFileFormatException(java.lang.String message, java.lang.Throwable cause)
Create a newFlatFileFormatException
based on a message and another exception.- 参数:
message
- the message for this exceptioncause
- the other exception
方法详细资料
getInput
public java.lang.String getInput()
Retrieve the input that caused this exception.- 返回:
- String containing the input.