public class StreamCopyException
extends java.io.IOException
IOException together with information about the type of operation (read or write) that
failed.| Modifier and Type | Field and Description |
|---|---|
private int |
operation |
static int |
READ
Indicates that the wrapped exception was triggered while reading from the input stream
(or data source).
|
private static long |
serialVersionUID |
static int |
WRITE
Indicates that the wrapped exception was triggered while writing to the output stream
(or data sink).
|
| Constructor and Description |
|---|
StreamCopyException(int operation,
java.io.IOException cause)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getMessage() |
int |
getOperation()
Get information about the type of operation that fails.
|
private static final long serialVersionUID
public static final int READ
public static final int WRITE
private final int operation