org.springframework.batch.item
Class ItemWriterException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.springframework.batch.item.ItemWriterException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
WriteFailedException, WriterNotOpenException

public abstract class ItemWriterException
extends RuntimeException

A base exception class that all exceptions thrown from an ItemWriter extend.

Author:
Ben Hale
See Also:
Serialized Form

Constructor Summary
ItemWriterException(String message)
          Create a new ItemWriterException based on a message.
ItemWriterException(String message, Throwable cause)
          Create a new ItemWriterException 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

ItemWriterException

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

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

ItemWriterException

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

Parameters:
message - the message for this exception


Copyright © 2013 SpringSource. All Rights Reserved.