Package org.springframework.batch.item

# Class WriterNotOpenException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.batch.item.ItemWriterException
org.springframework.batch.item.WriterNotOpenException

All Implemented Interfaces:
  `Serializable`

public class WriterNotOpenException extends ItemWriterException
Exception indicating that an `ItemWriter` needed to be opened before being written to.

Author:
  Lucas Ward
See Also:
  - Serialized Form

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `WriterNotOpenException(String message)`
  Create a new `WriterNotOpenException` based on a message.
  `WriterNotOpenException(String msg, Throwable nested)`
  Create a new `WriterNotOpenException` based on a message and another exception.

- ## Method Summary

  ### Methods inherited from class java.lang.Throwable

  `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### WriterNotOpenException

    public WriterNotOpenException(String message)
    Create a new `WriterNotOpenException` based on a message.
    Parameters:
      `message` - the message for this exception

  - ### WriterNotOpenException

    public WriterNotOpenException(String msg, Throwable nested)
    Create a new `WriterNotOpenException` based on a message and another exception.
    Parameters:
      `msg` - the message for this exception
      `nested` - the other exception