Exception::Throw

This commit is contained in:
Joachim Schoeberl 2024-07-17 17:58:38 +02:00
parent 357ff7badf
commit ba472f7a11

View File

@ -36,6 +36,10 @@ namespace ngcore
Exception(std::string_view s1, std::string_view s2, std::string_view s3); Exception(std::string_view s1, std::string_view s2, std::string_view s3);
~Exception() override = default; ~Exception() override = default;
[[noreturn]] static void Throw (std::string_view s1);
[[noreturn]] static void Throw (std::string_view s1, std::string_view s2);
[[noreturn]] static void Throw (std::string_view s1, std::string_view s2, std::string_view s3);
Exception& operator =(const Exception&) = default; Exception& operator =(const Exception&) = default;
Exception& operator =(Exception&&) noexcept = default; Exception& operator =(Exception&&) noexcept = default;