public class CopyStreamException extends IOException
Util,
Serialized Form| Constructor and Description |
|---|
CopyStreamException(String message,
long bytesTransferred,
IOException exception)
Creates a new CopyStreamException instance.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic 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()
public IOException getIOException()
Copyright © 2001–2017 The Apache Software Foundation. All rights reserved.