类 UnexpectedInputException
- java.lang.Object
- java.lang.Throwable
- java.lang.Exception
- java.lang.RuntimeException
- org.springframework.batch.item.ItemReaderException
- org.springframework.batch.item.UnexpectedInputException
- 所有已实现的接口:
java.io.Serializable
public class UnexpectedInputException extends ItemReaderException
Used to signal an unexpected end of an input or message stream. This is an abnormal condition, not just the end of the data - e.g. if a resource becomes unavailable, or a stream becomes unreadable.- 作者:
- Dave Syer, Ben Hale
- 另请参阅:
- 序列化表格
构造器概要
构造器 构造器 说明 UnexpectedInputException(java.lang.String message)
Create a newUnexpectedInputException
based on a message.UnexpectedInputException(java.lang.String msg, java.lang.Throwable nested)
Create a newUnexpectedInputException
based on a message and another exception.
构造器详细资料
UnexpectedInputException
public UnexpectedInputException(java.lang.String message)
Create a newUnexpectedInputException
based on a message.- 参数:
message
- the message for this exception
UnexpectedInputException
public UnexpectedInputException(java.lang.String msg, java.lang.Throwable nested)
Create a newUnexpectedInputException
based on a message and another exception.- 参数:
msg
- the message for this exceptionnested
- the other exception