X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fex_router_flexml.cpp;h=013aa32bb5c44b3daf9a537591981abc67aa1a63;hb=63ea8aedbfd7dc56ab28dbc82c38b4458dcecb68;hp=a1c1a0d9515732c65fa22acd15a92b8276b72b9c;hpb=c859210e9c315c0f15c93fc6f65477a6c3e65d14;p=metaproxy-moved-to-github.git diff --git a/src/ex_router_flexml.cpp b/src/ex_router_flexml.cpp index a1c1a0d..013aa32 100644 --- a/src/ex_router_flexml.cpp +++ b/src/ex_router_flexml.cpp @@ -1,4 +1,4 @@ -/* $Id: ex_router_flexml.cpp,v 1.1 2005-10-26 14:12:00 marc Exp $ +/* $Id: ex_router_flexml.cpp,v 1.3 2006-01-04 11:19:04 adam Exp $ Copyright (c) 2005, Index Data. %LICENSE% @@ -13,39 +13,39 @@ int main(int argc, char **argv) { - //try - //{ - - std::string xmlconf = "\n" - "\n" - "\n" - "\n" - "\n" + try + { + + std::string xmlconf = "\n" + "\n" + "\n" + "\n" + "\n" "210\n" - "\n" - "\n" - "mylog.log\n" - "\n" - "\n" + "\n" + "\n" + "mylog.log\n" + "\n" + "\n" "\n" - "\n" - "\n" - "\n" - "\n" + "\n" + "\n" + "\n" + "\n" "\n" - "\n"; - - yp2::RouterFleXML rflexml(xmlconf); - - - - // } - //catch ( ... ) { - //std::cerr << "Unknown Exception" << std::endl; - //throw(); - //std::exit(1); - //} - std::exit(0); + "\n"; + + yp2::RouterFleXML rflexml(xmlconf); + + + + } + catch ( ... ) { + std::cerr << "Unknown Exception" << std::endl; + throw; + std::exit(1); + } + std::exit(0); }