public class CopyStreamException
extends java.io.IOException
Util
,
Serialized FormConstructor | Description |
---|---|
CopyStreamException(java.lang.String message,
long bytesTransferred,
java.io.IOException exception) |
Creates a new CopyStreamException instance.
|
Modifier and Type | Method | Description |
---|---|---|
java.io.IOException |
getIOException() |
Returns the IOException responsible for the failure of a copy operation.
|
long |
getTotalBytesTransferred() |
Returns the total number of bytes confirmed to have
been transferred by a failed copy operation.
|
public CopyStreamException(java.lang.String message, long bytesTransferred, java.io.IOException exception)
message
- A message describing the error.bytesTransferred
- The total number of bytes transferred before
an exception was thrown in a copy operation.exception
- The IOException thrown during a copy operation.public long getTotalBytesTransferred()
public java.io.IOException getIOException()