mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-07-11 11:55:36 +08:00
30 lines
494 B
C++
30 lines
494 B
C++
#pragma once
|
|
|
|
#include <stdexcept>
|
|
|
|
namespace EXCEPT
|
|
{;
|
|
|
|
|
|
class LogicalException : public std::logic_error
|
|
{
|
|
protected:
|
|
explicit LogicalException(const std::string& message);
|
|
};
|
|
|
|
|
|
class RuntimeException : public std::runtime_error
|
|
{
|
|
protected:
|
|
explicit RuntimeException(const std::string& message);
|
|
};
|
|
|
|
class StopConversionException: public std::runtime_error
|
|
{
|
|
protected:
|
|
explicit StopConversionException(const std::string& message);
|
|
};
|
|
|
|
} // namespace EXCEPT
|
|
|