public class FileDownloadOutOfSpaceException
extends java.io.IOException
FileDownloadUtils.createOutputStream(String)
When the resource is chunked, we will handle this problem when the free space is not enough to
store the following chunk:
DownloadStatusCallback.exFiltrate(Exception)| Constructor and Description |
|---|
FileDownloadOutOfSpaceException(long freeSpaceBytes,
long requiredSpaceBytes,
long breakpointBytes) |
FileDownloadOutOfSpaceException(long freeSpaceBytes,
long requiredSpaceBytes,
long breakpointBytes,
java.lang.Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
long |
getBreakpointBytes() |
long |
getFreeSpaceBytes() |
long |
getRequiredSpaceBytes() |
public FileDownloadOutOfSpaceException(long freeSpaceBytes,
long requiredSpaceBytes,
long breakpointBytes,
java.lang.Throwable cause)
public FileDownloadOutOfSpaceException(long freeSpaceBytes,
long requiredSpaceBytes,
long breakpointBytes)
public long getFreeSpaceBytes()
public long getRequiredSpaceBytes()
public long getBreakpointBytes()