projects
/
framework
/
web
/
wrt-installer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a144170
)
[Prevent] Throw error on no ElementParser.
author
Jan Olszak
<j.olszak@samsung.com>
Fri, 28 Dec 2012 13:04:14 +0000
(14:04 +0100)
committer
Jan Olszak
<j.olszak@samsung.com>
Fri, 28 Dec 2012 13:04:14 +0000
(14:04 +0100)
[Issue] No return value in ElementParser getter.
[Bug] N/A
[Cause] N/A
[Solution] Closed dir.
[Verification] Build installer.
Change-Id: I2fc42f26be52ce19d767fc88a566da8139f4ca8a
src/configuration_parser/widget_parser.cpp
patch
|
blob
|
history
diff --git
a/src/configuration_parser/widget_parser.cpp
b/src/configuration_parser/widget_parser.cpp
index
c64171b
..
f33004c
100755
(executable)
--- a/
src/configuration_parser/widget_parser.cpp
+++ b/
src/configuration_parser/widget_parser.cpp
@@
-1682,6
+1682,8
@@
class LiveboxParser : public ElementParser
return DPL::MakeDelegate(this, &LiveboxParser::BoxContentParser::OnBoxSizeElement);
} else if (name == L"pd") {
return DPL::MakeDelegate(this, &LiveboxParser::BoxContentParser::OnPdElement);
+ } else{
+ ThrowMsg(Exception::ParseError, "No element parser for name: " << name);
}
}