X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=src%2Fex_router_flexml.cpp;h=c7cffb36eb72e4c2c87a67a89c7ea0c2fc4cb08e;hb=77dee8966dd1304a0fb8540c3fc68d02dc6ce84a;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..c7cffb3 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.2 2005-10-31 11:59:08 marc 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); }