summarylogtreecommitdiffstats
path: root/error.cpp.patch
blob: 8ea35c5e62bb3b6ca2627c4852e167110a74a044 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
--- fb2toepub/error.cpp.orig	2010-12-31 14:41:34.000000000 +0200
+++ fb2toepub/error.cpp	2012-02-06 10:54:00.000000000 +0200
@@ -22,6 +22,7 @@
 
 #include "error.h"
 #include <sstream>
+#include <iostream>
 
 namespace Fb2ToEpub
 {
@@ -93,6 +94,7 @@
 void IOException::Raise(const String &file, const String &what)
 {
     throw IOExceptionImpl(file, what);
+    
 }
 
 
@@ -122,7 +124,8 @@
 };
 void ParserException::Raise(const String &file, const Loc &loc, const String &what)
 {
-    throw ParserExceptionImpl(file, loc, what);
+    //throw ParserExceptionImpl(file, loc, what);
+    std::cout << "skip: " << file << ": " << what << "\n";
 }