org.springframework.batch.item.validator
Class ValidationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.batch.item.ItemReaderException
org.springframework.batch.item.validator.ValidationException
- All Implemented Interfaces:
- Serializable
public class ValidationException
- extends ItemReaderException
This exception should be thrown when there are validation errors.
- Author:
- Ben Hale
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
ValidationException
public ValidationException(String message,
Throwable cause)
- Create a new
ValidationException
based on a message and another exception.
- Parameters:
message
- the message for this exceptioncause
- the other exception
ValidationException
public ValidationException(String message)
- Create a new
ValidationException
based on a message.
- Parameters:
message
- the message for this exception
Copyright © 2009 SpringSource. All Rights Reserved.