Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'platform/chunks_download_strategy.cpp')
-rw-r--r--platform/chunks_download_strategy.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/platform/chunks_download_strategy.cpp b/platform/chunks_download_strategy.cpp
index 042d94abd9..5c0cf1e281 100644
--- a/platform/chunks_download_strategy.cpp
+++ b/platform/chunks_download_strategy.cpp
@@ -73,7 +73,7 @@ void ChunksDownloadStrategy::SaveChunks(int64_t fileSize, string const & fName)
w.Write(&m_chunks[0], sizeof(ChunkT) * m_chunks.size());
return;
}
- catch(FileWriter::Exception const & e)
+ catch (FileWriter::Exception const & e)
{
LOG(LERROR, (e.Msg()));
}
@@ -119,9 +119,9 @@ int64_t ChunksDownloadStrategy::LoadOrInitChunks( string const & fName,
return downloadedSize;
}
}
- catch(FileReader::Exception const & e)
+ catch (RootException const & e)
{
- // Usually - file not exists.
+ // Usually - file not exists. May be SourceOutOfBoundsException.
LOG(LDEBUG, (e.Msg()));
}