demo/lgf_demo.cc
changeset 290 f6899946c1ac
parent 209 765619b7cbb2
child 294 cbe3ec2d59d2
     1.1 --- a/demo/lgf_demo.cc	Sat Sep 27 14:33:28 2008 +0200
     1.2 +++ b/demo/lgf_demo.cc	Tue Sep 30 20:53:18 2008 +0200
     1.3 @@ -49,7 +49,7 @@
     1.4        node("source", s).             // read 'source' node to s
     1.5        node("target", t).             // read 'target' node to t
     1.6        run();
     1.7 -  } catch (DataFormatError& error) { // check if there was any error
     1.8 +  } catch (Exception& error) { // check if there was any error
     1.9      std::cerr << "Error: " << error.what() << std::endl;
    1.10      return -1;
    1.11    }