Files
core/ASCOfficeXlsFile/ASCWorksheetConverter/source/Exception/exceptions.cpp

30 lines
566 B
C++

#include "stdafx.h"
#include "exceptions.h"
namespace EXCEPT
{;
LogicalException::LogicalException(const std::string& message)
: logic_error(message)
{
Log::error("Logical exception!!! " + message);
}
RuntimeException::RuntimeException(const std::string& message)
: runtime_error(message)
{
Log::error("Run-time exception!!! " + message);
}
StopConversionException::StopConversionException(const std::string& message)
: runtime_error(message)
{
Log::error("Stop-conversion exception!!! " + message);
}
} // namespace EXCEPT