demo/lgf_demo.cc
changeset 294 cbe3ec2d59d2
parent 293 47fbc814aa31
parent 290 f6899946c1ac
child 440 88ed40ad0d4f
     1.1 --- a/demo/lgf_demo.cc	Wed Oct 01 12:44:16 2008 +0200
     1.2 +++ b/demo/lgf_demo.cc	Wed Oct 01 13:56:40 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    }