public class CopyStreamException extends IOException
|Constructor and Description|
Creates a new CopyStreamException instance.
|Modifier and Type||Method and Description|
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.
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public CopyStreamException(String message, long bytesTransferred, 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()
Copyright © 2001-2013 The Apache Software Foundation. All Rights Reserved.