Package groovy.lang

# Class StringWriterIOException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
groovy.lang.StringWriterIOException

All Implemented Interfaces:
  `Serializable`

public class StringWriterIOException extends RuntimeException
An IO exception occurred trying to append to a StringWriter which should never happen.

See Also:
  - Serialized Form

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `StringWriterIOException(IOException e)`
  Wraps the supplied `IOException`.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `IOException`
  `getIOException()`
  Returns the wrapped `IOException`.

  ### 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

  - ### StringWriterIOException

    public StringWriterIOException(IOException e)
    Wraps the supplied `IOException`.
    Parameters:
      `e` - the wrapped exception

- ## Method Details

  - ### getIOException

    public IOException getIOException()
    Returns the wrapped `IOException`.
    Returns:
      the wrapped exception