class B2LargeUploadPartService {

    public void delete(final String id) throws BackgroundException {
        if(log.isInfoEnabled()) {
            log.info(String.format("Delete multipart upload for fileid %s", id));
        }
        try {
            session.getClient().cancelLargeFileUpload(id);
        }
        catch(B2ApiException e) {
            throw new B2ExceptionMappingService().map(e);
        }
        catch(IOException e) {
            throw new DefaultIOExceptionMappingService().map(e);
        }
    }

    public  B2LargeUploadPartService(final B2Session session, final B2FileidProvider fileid);

}