summaryrefslogtreecommitdiff
path: root/src/plugins/css
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/css')
-rw-r--r--src/plugins/css/CSSParser.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/css/CSSParser.cpp b/src/plugins/css/CSSParser.cpp
index 5985047..9a041f2 100644
--- a/src/plugins/css/CSSParser.cpp
+++ b/src/plugins/css/CSSParser.cpp
@@ -137,7 +137,7 @@ void CSSParser::parseSelectors(Rooted<SelectorNode> root,
case 2:
// as the parseSelector is supposed to parse only a SelectorPath
// there should not be more than one leaf.
- throw ParserException{
+ throw LoggableException{
"Internal Error: More than one leaf in SelectorPath!",
tokenizer.getInput()};
}
@@ -348,10 +348,10 @@ bool CSSParser::expect(int expectedType, CodeTokenizer &tokenizer, Token &t,
if (end || t.tokenId != expectedType) {
if (force) {
if (end) {
- throw ParserException{"Unexpected end of file!",
+ throw LoggableException{"Unexpected end of file!",
tokenizer.getInput()};
} else {
- throw ParserException{"Unexpected token!",
+ throw LoggableException{"Unexpected token!",
tokenizer.getInput()};
}
} else {