aboutsummaryrefslogtreecommitdiff
path: root/include/cru/ui/mapper/Mapper.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/cru/ui/mapper/Mapper.hpp')
-rw-r--r--include/cru/ui/mapper/Mapper.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/cru/ui/mapper/Mapper.hpp b/include/cru/ui/mapper/Mapper.hpp
index ceda8e0f..c52bec70 100644
--- a/include/cru/ui/mapper/Mapper.hpp
+++ b/include/cru/ui/mapper/Mapper.hpp
@@ -69,11 +69,11 @@ class CRU_UI_API BasicMapper : public MapperBase {
T MapFromXml(xml::XmlElementNode* node) {
if (!SupportMapFromXml()) {
- throw new Exception(u"This mapper does not support map from xml.");
+ throw Exception(u"This mapper does not support map from xml.");
}
if (!XmlElementIsOfThisType(node)) {
- throw new Exception(u"This xml element is not of mapping type.");
+ throw Exception(u"This xml element is not of mapping type.");
}
return DoMapFromXml(node);