aboutsummaryrefslogtreecommitdiff
path: root/include/cru/platform/Exception.h
diff options
context:
space:
mode:
authorYuqian Yang <crupest@crupest.life>2025-10-17 08:37:30 +0800
committerYuqian Yang <crupest@crupest.life>2025-10-17 08:37:30 +0800
commit3c8d5c8f732239a8b50418be27464e30b9dddeae (patch)
tree8ffb46c18e48c8463c1fb16fcacf216f296b8a1f /include/cru/platform/Exception.h
parent37943858b3b260589b5dc222bb5184d2846fb6dc (diff)
downloadcru-3c8d5c8f732239a8b50418be27464e30b9dddeae.tar.gz
cru-3c8d5c8f732239a8b50418be27464e30b9dddeae.tar.bz2
cru-3c8d5c8f732239a8b50418be27464e30b9dddeae.zip
Exception remove string.
Diffstat (limited to 'include/cru/platform/Exception.h')
-rw-r--r--include/cru/platform/Exception.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/include/cru/platform/Exception.h b/include/cru/platform/Exception.h
index f8ed5b0c..f43162d1 100644
--- a/include/cru/platform/Exception.h
+++ b/include/cru/platform/Exception.h
@@ -16,17 +16,8 @@ class CRU_PLATFORM_API PlatformNotMatchException : public PlatformException {
std::string resource_platform, std::string target_platform,
std::optional<std::string_view> additional_message = std::nullopt);
- PlatformNotMatchException(
- StringView resource_platform, StringView target_platform,
- std::optional<StringView> additional_message = std::nullopt);
-
~PlatformNotMatchException() override;
- [[deprecated("Use GetResourcePlatformUtf8 instead.")]]
- String GetResourcePlatform() const;
- [[deprecated("Use GetTargetPlatform instead.")]]
- String GetTargetPlatform() const;
-
std::string GetResourcePlatformUtf8() const { return resource_platform_; }
std::string GetTargetPlatformUtf8() const { return target_platform_; }
@@ -52,16 +43,8 @@ class CRU_PLATFORM_API PlatformUnsupportedException : public PlatformException {
std::string platform, std::string operation,
std::optional<std::string_view> additional_message);
- PlatformUnsupportedException(StringView platform, StringView operation,
- std::optional<StringView> additional_message);
-
~PlatformUnsupportedException() override;
- [[deprecated("Use GetPlatformUtf8 instead.")]]
- String GetPlatform() const;
- [[deprecated("Use GetOperationUtf8 instead.")]]
- String GetOperation() const;
-
std::string GetPlatformUtf8() const { return platform_; }
std::string GetOperationUtf8() const { return operation_; }