org.springframework.batch.item
Class NoWorkFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.batch.item.ItemReaderException
org.springframework.batch.item.NoWorkFoundException
- All Implemented Interfaces:
- Serializable
public class NoWorkFoundException
- extends ItemReaderException
Exception indicating no work was found - e.g. the input is empty or
more generally no items were processed.
- Author:
- Lucas Ward, Ben Hale
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
NoWorkFoundException
public NoWorkFoundException(String message)
- Create a new
NoWorkFoundException
based on a message.
- Parameters:
message
- the message for this exception
NoWorkFoundException
public NoWorkFoundException(String msg,
Throwable nested)
- Create a new
NoWorkFoundException
based on a message and another exception.
- Parameters:
msg
- the message for this exceptionnested
- the other exception
Copyright © 2009 SpringSource. All Rights Reserved.