1.1 --- a/lemon/lemon_reader.h Tue Jul 18 15:14:56 2006 +0000
1.2 +++ b/lemon/lemon_reader.h Tue Jul 18 15:57:55 2006 +0000
1.3 @@ -836,7 +836,7 @@
1.4 if (readers.find(name) != readers.end()) {
1.5 ErrorMessage msg;
1.6 msg << "Multiple read rule for node map: " << name;
1.7 - throw IOParameterError(msg.message());
1.8 + throw IoParameterError(msg.message());
1.9 }
1.10 readers.insert(
1.11 make_pair(name, new _reader_bits::
1.12 @@ -855,7 +855,7 @@
1.13 if (readers.find(name) != readers.end()) {
1.14 ErrorMessage msg;
1.15 msg << "Multiple read rule for node map: " << name;
1.16 - throw IOParameterError(msg.message());
1.17 + throw IoParameterError(msg.message());
1.18 }
1.19 readers.insert(make_pair(name, new _reader_bits::
1.20 SkipReader<Node, Reader>(reader)));
1.21 @@ -905,7 +905,7 @@
1.22 if (!it->second->touched()) {
1.23 ErrorMessage msg;
1.24 msg << "Map not found in file: " << it->first;
1.25 - throw IOParameterError(msg.message());
1.26 + throw IoParameterError(msg.message());
1.27 }
1.28 }
1.29 while (getline(is, line)) {
1.30 @@ -921,7 +921,7 @@
1.31 if (readers.empty()) return;
1.32 ErrorMessage msg;
1.33 msg << "NodeSet section not found in file: @nodeset " << name;
1.34 - throw IOParameterError(msg.message());
1.35 + throw IoParameterError(msg.message());
1.36 }
1.37
1.38 public:
1.39 @@ -1066,7 +1066,7 @@
1.40 if (readers.find(name) != readers.end()) {
1.41 ErrorMessage msg;
1.42 msg << "Multiple read rule for edge map: " << name;
1.43 - throw IOParameterError(msg.message());
1.44 + throw IoParameterError(msg.message());
1.45 }
1.46 readers.insert(
1.47 make_pair(name, new _reader_bits::
1.48 @@ -1085,7 +1085,7 @@
1.49 if (readers.find(name) != readers.end()) {
1.50 ErrorMessage msg;
1.51 msg << "Multiple read rule for edge map: " << name;
1.52 - throw IOParameterError(msg.message());
1.53 + throw IoParameterError(msg.message());
1.54 }
1.55 readers.insert(make_pair(name, new _reader_bits::
1.56 SkipReader<Edge, Reader>(reader)));
1.57 @@ -1138,7 +1138,7 @@
1.58 if (!it->second->touched()) {
1.59 ErrorMessage msg;
1.60 msg << "Map not found in file: " << it->first;
1.61 - throw IOParameterError(msg.message());
1.62 + throw IoParameterError(msg.message());
1.63 }
1.64 }
1.65 while (getline(is, line)) {
1.66 @@ -1156,7 +1156,7 @@
1.67 if (readers.empty()) return;
1.68 ErrorMessage msg;
1.69 msg << "EdgeSet section not found in file: @edgeset " << name;
1.70 - throw IOParameterError(msg.message());
1.71 + throw IoParameterError(msg.message());
1.72 }
1.73
1.74 public:
1.75 @@ -1310,7 +1310,7 @@
1.76 if (readers.find(name) != readers.end()) {
1.77 ErrorMessage msg;
1.78 msg << "Multiple read rule for edge map: " << name;
1.79 - throw IOParameterError(msg.message());
1.80 + throw IoParameterError(msg.message());
1.81 }
1.82 readers.insert(
1.83 make_pair(name, new _reader_bits::
1.84 @@ -1329,7 +1329,7 @@
1.85 if (readers.find(name) != readers.end()) {
1.86 ErrorMessage msg;
1.87 msg << "Multiple read rule for node map: " << name;
1.88 - throw IOParameterError(msg.message());
1.89 + throw IoParameterError(msg.message());
1.90 }
1.91 readers.insert(make_pair(name, new _reader_bits::
1.92 SkipReader<UEdge, Reader>(reader)));
1.93 @@ -1443,7 +1443,7 @@
1.94 if (!it->second->touched()) {
1.95 ErrorMessage msg;
1.96 msg << "Map not found in file: " << it->first;
1.97 - throw IOParameterError(msg.message());
1.98 + throw IoParameterError(msg.message());
1.99 }
1.100 }
1.101 while (getline(is, line)) {
1.102 @@ -1461,7 +1461,7 @@
1.103 if (readers.empty()) return;
1.104 ErrorMessage msg;
1.105 msg << "UEdgeSet section not found in file: @uedgeset " << name;
1.106 - throw IOParameterError(msg.message());
1.107 + throw IoParameterError(msg.message());
1.108 }
1.109
1.110 public:
1.111 @@ -1566,7 +1566,7 @@
1.112 if (readers.find(name) != readers.end()) {
1.113 ErrorMessage msg;
1.114 msg << "Multiple read rule for node: " << name;
1.115 - throw IOParameterError(msg.message());
1.116 + throw IoParameterError(msg.message());
1.117 }
1.118 readers.insert(make_pair(name, _reader_bits::ItemStore<Node>(item)));
1.119 }
1.120 @@ -1609,7 +1609,7 @@
1.121 if (!it->second.touched()) {
1.122 ErrorMessage msg;
1.123 msg << "Node not found in file: " << it->first;
1.124 - throw IOParameterError(msg.message());
1.125 + throw IoParameterError(msg.message());
1.126 }
1.127 }
1.128 }
1.129 @@ -1618,7 +1618,7 @@
1.130 if (readers.empty()) return;
1.131 ErrorMessage msg;
1.132 msg << "Nodes section not found in file: @nodes " << name;
1.133 - throw IOParameterError(msg.message());
1.134 + throw IoParameterError(msg.message());
1.135 }
1.136
1.137 private:
1.138 @@ -1679,7 +1679,7 @@
1.139 if (readers.find(name) != readers.end()) {
1.140 ErrorMessage msg;
1.141 msg << "Multiple read rule for edge: " << name;
1.142 - throw IOParameterError(msg.message());
1.143 + throw IoParameterError(msg.message());
1.144 }
1.145 readers.insert(make_pair(name, _reader_bits::ItemStore<Edge>(item)));
1.146 }
1.147 @@ -1722,7 +1722,7 @@
1.148 if (!it->second.touched()) {
1.149 ErrorMessage msg;
1.150 msg << "Edge not found in file: " << it->first;
1.151 - throw IOParameterError(msg.message());
1.152 + throw IoParameterError(msg.message());
1.153 }
1.154 }
1.155 }
1.156 @@ -1731,7 +1731,7 @@
1.157 if (readers.empty()) return;
1.158 ErrorMessage msg;
1.159 msg << "Edges section not found in file: @edges " << name;
1.160 - throw IOParameterError(msg.message());
1.161 + throw IoParameterError(msg.message());
1.162 }
1.163
1.164 private:
1.165 @@ -1797,7 +1797,7 @@
1.166 if (uEdgeReaders.find(name) != uEdgeReaders.end()) {
1.167 ErrorMessage msg;
1.168 msg << "Multiple read rule for undirected edge: " << name;
1.169 - throw IOParameterError(msg.message());
1.170 + throw IoParameterError(msg.message());
1.171 }
1.172 uEdgeReaders.insert(make_pair(name, _reader_bits::
1.173 ItemStore<UEdge>(item)));
1.174 @@ -1810,7 +1810,7 @@
1.175 if (edgeReaders.find(name) != edgeReaders.end()) {
1.176 ErrorMessage msg;
1.177 msg << "Multiple read rule for edge: " << name;
1.178 - throw IOParameterError(msg.message());
1.179 + throw IoParameterError(msg.message());
1.180 }
1.181 edgeReaders.insert(make_pair(name, _reader_bits::ItemStore<Edge>(item)));
1.182 }
1.183 @@ -1866,7 +1866,7 @@
1.184 if (!it->second.touched()) {
1.185 ErrorMessage msg;
1.186 msg << "Edge not found in file: " << it->first;
1.187 - throw IOParameterError(msg.message());
1.188 + throw IoParameterError(msg.message());
1.189 }
1.190 }
1.191 for (typename UEdgeReaders::iterator it = uEdgeReaders.begin();
1.192 @@ -1874,7 +1874,7 @@
1.193 if (!it->second.touched()) {
1.194 ErrorMessage msg;
1.195 msg << "UEdge not found in file: " << it->first;
1.196 - throw IOParameterError(msg.message());
1.197 + throw IoParameterError(msg.message());
1.198 }
1.199 }
1.200 }
1.201 @@ -1883,7 +1883,7 @@
1.202 if (edgeReaders.empty() && uEdgeReaders.empty()) return;
1.203 ErrorMessage msg;
1.204 msg << "UEdges section not found in file: @uedges " << name;
1.205 - throw IOParameterError(msg.message());
1.206 + throw IoParameterError(msg.message());
1.207 }
1.208
1.209 private:
1.210 @@ -1959,7 +1959,7 @@
1.211 if (readers.find(name) != readers.end()) {
1.212 ErrorMessage msg;
1.213 msg << "Multiple read rule for attribute: " << name;
1.214 - throw IOParameterError(msg.message());
1.215 + throw IoParameterError(msg.message());
1.216 }
1.217 readers.insert(make_pair(name, new _reader_bits::
1.218 ValueReader<Value, Reader>(value, reader)));
1.219 @@ -2001,7 +2001,7 @@
1.220 if (!it->second->touched()) {
1.221 ErrorMessage msg;
1.222 msg << "Attribute not found in file: " << it->first;
1.223 - throw IOParameterError(msg.message());
1.224 + throw IoParameterError(msg.message());
1.225 }
1.226 }
1.227 }
1.228 @@ -2010,7 +2010,7 @@
1.229 if (readers.empty()) return;
1.230 ErrorMessage msg;
1.231 msg << "Attribute section not found in file: @attributes " << name;
1.232 - throw IOParameterError(msg.message());
1.233 + throw IoParameterError(msg.message());
1.234 }
1.235
1.236 private: