mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-07-11 14:00:32 +08:00
18 lines
470 B
C++
18 lines
470 B
C++
#include "stdafx.h"
|
|
#include "EndOfStreamReached.h"
|
|
|
|
|
|
namespace EXCEPT
|
|
{;
|
|
namespace RT
|
|
{;
|
|
|
|
EndOfStreamReached::EndOfStreamReached(const std::string stream_name, const size_t num_read, const size_t num_requested)
|
|
: CompoundFileFormatError("End of stream \"" + stream_name + "\" reached. Only " + STR::int2str(num_read, 10) +
|
|
" bytes of " + STR::int2str(num_requested, 10) + " have been read", S_OK)
|
|
{
|
|
}
|
|
|
|
} // namespace RT
|
|
} // namespace EXCEPT
|