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 |
|---|---|
static int |
READ
Indicates that the wrapped exception was triggered while reading from the input stream
(or data source).
|
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.
|
public static final int READ
public static final int WRITE
Copyright © 2004-2015 The Apache Software Foundation. All Rights Reserved.