diff options
| author | Yuqian Yang <crupest@crupest.life> | 2025-10-17 08:37:30 +0800 |
|---|---|---|
| committer | Yuqian Yang <crupest@crupest.life> | 2025-10-17 08:37:30 +0800 |
| commit | 3c8d5c8f732239a8b50418be27464e30b9dddeae (patch) | |
| tree | 8ffb46c18e48c8463c1fb16fcacf216f296b8a1f /include/cru/ui/mapper | |
| parent | 37943858b3b260589b5dc222bb5184d2846fb6dc (diff) | |
| download | cru-3c8d5c8f732239a8b50418be27464e30b9dddeae.tar.gz cru-3c8d5c8f732239a8b50418be27464e30b9dddeae.tar.bz2 cru-3c8d5c8f732239a8b50418be27464e30b9dddeae.zip | |
Exception remove string.
Diffstat (limited to 'include/cru/ui/mapper')
| -rw-r--r-- | include/cru/ui/mapper/Mapper.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/cru/ui/mapper/Mapper.h b/include/cru/ui/mapper/Mapper.h index 40e15186..d391fac3 100644 --- a/include/cru/ui/mapper/Mapper.h +++ b/include/cru/ui/mapper/Mapper.h @@ -66,7 +66,7 @@ class CRU_UI_API BasicMapper : public MapperBase { virtual T MapFromString(String str) { if (!SupportMapFromString()) { - throw Exception(u"This mapper does not support map from string."); + throw Exception("This mapper does not support map from string."); } return DoMapFromString(str); @@ -74,11 +74,11 @@ class CRU_UI_API BasicMapper : public MapperBase { T MapFromXml(xml::XmlElementNode* node) { if (!SupportMapFromXml()) { - throw Exception(u"This mapper does not support map from xml."); + throw Exception("This mapper does not support map from xml."); } if (!XmlElementIsOfThisType(node)) { - throw Exception(u"This xml element is not of mapping type."); + throw Exception("This xml element is not of mapping type."); } return DoMapFromXml(node); |
