org.springframework.batch.item
Class ParseException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.springframework.batch.item.ItemReaderException
                  extended by org.springframework.batch.item.ParseException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
FlatFileParseException

public class ParseException
extends ItemReaderException

Exception indicating that an error has been encountered parsing io, typically from a file.

Author:
Lucas Ward, Ben Hale
See Also:
Serialized Form

Constructor Summary
ParseException(String message)
          Create a new ParseException based on a message.
ParseException(String message, Throwable cause)
          Create a new ParseException based on a message and another exception.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ParseException

public ParseException(String message,
                      Throwable cause)
Create a new ParseException based on a message and another exception.

Parameters:
message - the message for this exception
cause - the other exception

ParseException

public ParseException(String message)
Create a new ParseException based on a message.

Parameters:
message - the message for this exception


Copyright © 2009 SpringSource. All Rights Reserved.