org.apache.commons.net.io
public class CopyStreamException extends IOException
Version: $Id: CopyStreamException.java 165675 2005-05-02 20:09:55Z rwinston $
See Also: Util
Constructor Summary | |
---|---|
CopyStreamException(String message, long bytesTransferred, IOException exception)
Creates a new CopyStreamException instance. |
Method Summary | |
---|---|
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. |
Parameters: 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.
Returns: The IOException responsible for the failure of a copy operation.
Returns: The total number of bytes confirmed to have been transferred by a failed copy operation.