public class FileDownloadOutOfSpaceException extends 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,
Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
long |
getBreakpointBytes() |
long |
getFreeSpaceBytes() |
long |
getRequiredSpaceBytes() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic FileDownloadOutOfSpaceException(long freeSpaceBytes,
long requiredSpaceBytes,
long breakpointBytes,
Throwable cause)
public FileDownloadOutOfSpaceException(long freeSpaceBytes,
long requiredSpaceBytes,
long breakpointBytes)
public long getFreeSpaceBytes()
public long getRequiredSpaceBytes()
public long getBreakpointBytes()