public class CopyStreamException
extends java.io.IOException
构造器和说明 |
---|
CopyStreamException(java.lang.String message,
long bytesTransferred,
java.io.IOException exception)
Creates a new CopyStreamException instance.
|
限定符和类型 | 方法和说明 |
---|---|
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()