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:
java.io.Serializable
public class SourceStreamIOException extends java.io.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
-
-
Field Summary
Fields Modifier and Type Field Description private int
bytesRemaining
The number of bytes remaining to transfer to the destination stream.
-
Constructor Summary
Constructors Constructor Description SourceStreamIOException(int bytesRemaining, java.io.IOException cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getBytesRemaining()
java.io.IOException
getCause()
-