aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils/parsing.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-01-07 23:40:24 +0000
committerlloyd <[email protected]>2010-01-07 23:40:24 +0000
commit9900914a225c97aca575df268f73f7c6c366e697 (patch)
tree4f5525cc27e8473379f4965bb9b1dd7e1df109a3 /src/utils/parsing.cpp
parent667738924ba1fde5bf219d963b433594d53d63b9 (diff)
parent2837e915d82e439730624f15bfc8c820475c9d65 (diff)
merge of 'bf0e5684d8ba5fb0a21cdcd11d26995cbb250c4a'
and 'e30a741f6014987e9683842ede22c44b2db03c56'
Diffstat (limited to 'src/utils/parsing.cpp')
-rw-r--r--src/utils/parsing.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/parsing.cpp b/src/utils/parsing.cpp
index 58a8e0b38..4b99ac1ec 100644
--- a/src/utils/parsing.cpp
+++ b/src/utils/parsing.cpp
@@ -168,7 +168,7 @@ std::vector<std::string> split_on(const std::string& str, char delim)
}
if(substr == "")
- throw Format_Error("Unable to split string: " + str);
+ throw Invalid_Argument("Unable to split string: " + str);
elems.push_back(substr);
return elems;