class BreakpointRemoteCheck {

    @NonNull public ResumeFailedCause getCauseOrThrow() {
        if (failedCause == null) {
            throw new IllegalStateException("No cause find with resumable: " + resumable);
        }
        return this.failedCause;
    }

    public  BreakpointRemoteCheck(@NonNull DownloadTask task,
                                 @NonNull BreakpointInfo info);

}