33 #include <boost/format.hpp>
61 std::string errorMessage) :
62 file_(filename), line_(linenum), proc_(procname),
63 errorMessage_(errorMessage), cause_(NULL) {
140 string result = messagesOnly ?
142 (boost::format(
"%s:%d '%s'\n") %
148 exception = &exception->
cause();
149 assert(exception != NULL);
150 result += messagesOnly ?
152 (boost::format(
"%s:%d '%s'\n") %
173 std::string filename,
175 std::string procname,
176 std::string errorMessage) :
177 Exception(filename, linenum, procname, errorMessage) {
193 std::string filename,
195 std::string procname,
196 std::string errorMessage) :
197 Exception(filename, linenum, procname, errorMessage) {
213 std::string filename,
215 std::string procname,
216 std::string errorMessage) :
217 Exception(filename, linenum, procname, errorMessage) {
233 std::string filename,
235 std::string procname,
236 std::string errorMessage) :
237 IOException(filename, linenum, procname, errorMessage) {
260 std::string filename,
262 std::string procname,
263 std::string errorMessage) :
264 IOException(filename, linenum, procname, errorMessage) {
287 std::string filename,
289 std::string procname,
290 std::string errorMessage) :
291 IOException(filename, linenum, procname, errorMessage) {
315 std::string filename,
317 std::string procname,
318 std::string errorMessage) :
319 IOException(filename, linenum, procname, errorMessage) {
342 std::string filename,
344 std::string procname,
345 std::string errorMessage,
347 IOException(filename, linenum, procname, errorMessage), path_(path) {
369 std::string filename,
371 std::string procname,
372 std::string errorMessage) :
388 std::string filename,
390 std::string procname,
391 std::string errorMessage) :
408 std::string filename,
410 std::string procname,
411 std::string errorMessage) :
434 std::string filename,
436 std::string procname,
437 std::string errorMessage) :
438 InvalidData(filename, linenum, procname, errorMessage) {
454 std::string filename,
456 std::string procname,
457 std::string errorMessage) :
458 InvalidData(filename, linenum, procname, errorMessage) {
474 std::string filename,
476 std::string procname,
477 std::string errorMessage) :
493 std::string filename,
495 std::string procname,
496 std::string errorMessage) :
497 InvalidData(filename, linenum, procname, errorMessage) {
514 std::string filename,
516 std::string procname,
517 std::string errorMessage) :
518 InvalidData(filename, linenum, procname, errorMessage) {
540 std::string filename,
542 std::string procname,
543 std::string errorMessage) :
544 InvalidData(filename, linenum, procname, errorMessage) {
566 std::string filename,
568 std::string procname,
569 std::string errorMessage) :
570 InvalidData(filename, linenum, procname, errorMessage) {
592 std::string filename,
594 std::string procname,
595 std::string errorMessage) :
596 InvalidData(filename, linenum, procname, errorMessage) {
618 std::string filename,
620 std::string procname,
621 std::string errorMessage) :
622 InvalidData(filename, linenum, procname, errorMessage) {
645 std::string filename,
647 std::string procname,
648 std::string errorMessage) :
649 Exception(filename, linenum, procname, errorMessage) {
671 std::string filename,
673 std::string procname,
674 std::string errorMessage) :
675 Exception(filename, linenum, procname, errorMessage) {
698 std::string filename,
700 std::string procname,
701 std::string errorMessage) :
726 std::string filename,
728 std::string procname,
729 std::string errorMessage) :
730 InvalidData(filename, linenum, procname, errorMessage) {
754 std::string filename,
756 std::string procname,
757 std::string errorMessage) :
758 Exception(filename, linenum, procname, errorMessage) {
782 std::string filename,
784 std::string procname,
785 std::string errorMessage) :
809 std::string filename,
811 std::string procname,
812 std::string errorMessage) :
813 Exception(filename, linenum, procname, errorMessage) {
836 std::string filename,
838 std::string procname,
839 std::string errorMessage) :
840 Exception(filename, linenum, procname, errorMessage) {
864 std::string filename,
866 std::string procname,
867 std::string errorMessage) :
868 Exception(filename, linenum, procname, errorMessage) {
891 std::string filename,
893 std::string procname,
894 std::string errorMessage) :
895 Exception(filename, linenum, procname, errorMessage) {
918 std::string filename,
920 std::string procname,
921 std::string errorMessage) :
922 Exception(filename, linenum, procname, errorMessage) {
946 std::string fileName,
948 std::string procName,
949 std::string errorMessage) :
950 Exception(fileName, lineNum, procName, errorMessage) {
973 std::string fileName,
975 std::string procName,
976 std::string errorMessage) :
977 Exception(fileName, lineNum, procName, errorMessage) {
1001 std::string fileName,
1003 std::string procName,
1004 std::string errorMessage) :
1005 InvalidData(fileName, lineNum, procName, errorMessage) {
1029 std::string fileName,
1031 std::string procName,
1032 std::string errorMessage) :
1033 InvalidData(fileName, lineNum, procName, errorMessage) {
1056 std::string fileName,
1058 std::string procName,
1059 std::string errorMessage) :
1060 NotAvailable(fileName, lineNum, procName, errorMessage) {
1085 std::string fileName,
1087 std::string procName,
1088 std::string errorMessage) :
1113 std::string fileName,
1115 std::string procName,
1116 std::string errorMessage) :
1117 InvalidData(fileName, lineNum, procName, errorMessage) {
1141 std::string fileName,
1143 std::string procName,
1144 std::string errorMessage) :
1145 InvalidData(fileName, lineNum, procName, errorMessage) {
1169 std::string fileName,
1171 std::string procName,
1172 std::string errorMessage) :
1173 InvalidData(fileName, lineNum, procName, errorMessage) {
1196 std::string fileName,
1198 std::string procName,
1199 std::string errorMessage) :
1200 Exception(fileName, lineNum, procName, errorMessage) {
1222 std::string fileName,
1224 std::string procName,
1225 std::string errorMessage) :
1226 Exception(fileName, lineNum, procName, errorMessage) {
1248 std::string fileName,
1250 std::string procName,
1251 std::string errorMessage) :
1252 InvalidData(fileName, lineNum, procName, errorMessage) {
1274 std::string fileName,
1276 std::string procName,
1277 std::string errorMessage) :
1278 InvalidData(fileName, lineNum, procName, errorMessage) {
1301 std::string filename,
1303 std::string procname,
1304 std::string errorMessage) :
1305 Exception(filename, linenum, procname, errorMessage) {
1327 std::string filename,
1329 std::string procname,
1330 std::string errorMessage) :
1353 std::string filename,
1355 std::string procname,
1356 std::string errorMessage) :
1380 std::string filename,
1382 std::string procname,
1383 std::string errorMessage) :
1384 Exception(filename, linenum, procname, errorMessage) {
1406 std::string filename,
1408 std::string procname,
1409 std::string errorMessage) :
1410 Exception(filename, linenum, procname, errorMessage) {
1432 std::string filename,
1434 std::string procname,
1435 std::string errorMessage) :
1459 std::string filename,
1461 std::string procname,
1462 std::string errorMessage) :
1463 Exception(filename, linenum, procname, errorMessage) {
1506 std::string filename,
1508 std::string procname,
1509 std::string errorMessage) :
1510 Exception(filename, linenum, procname, errorMessage) {
1526 std::string filename,
1528 std::string procname,
1529 std::string errorMessage)
1530 :
InvalidData(filename, linenum, procname, errorMessage) {