Package org.postgresql.util.internal

# Class SourceStreamIOException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.postgresql.util.internal.SourceStreamIOException

All Implemented Interfaces:
  `Serializable`

public class SourceStreamIOException extends IOException
A marker exception class to distinguish between "IOException when reading the data" and "IOException when writing the data" when transferring data from one stream to another.

See Also:
  - Serialized Form

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `SourceStreamIOException(int bytesRemaining, IOException cause)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `int`
  `getBytesRemaining()`
  `IOException`
  `getCause()`

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

  `addSuppressed, fillInStackTrace, 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

  - ### SourceStreamIOException

    public SourceStreamIOException(int bytesRemaining, IOException cause)

- ## Method Details

  - ### getBytesRemaining

    public int getBytesRemaining()

  - ### getCause

    public IOException getCause()
    Overrides:
      `getCause` in class `Throwable`