Update of /cvsroot/epp-rtk/epp-rtk/c++/src In directory usw-pr-cvs1:/tmp/cvs-serv7367/src Modified Files: main_contactcheck.cc main_contactcreate.cc main_contactdelete.cc main_contactinfo.cc main_contacttransfer.cc main_contactupdate.cc main_domaincheck.cc main_domaincreate.cc main_domaindelete.cc main_domaininfo.cc main_domainrenew.cc main_domaintransfer.cc main_domainupdate.cc main_hostcheck.cc main_hostcreate.cc main_hostdelete.cc main_hostinfo.cc main_hostupdate.cc main_logout.cc main_poll.cc main_status.cc testTools.cc Log Message: Test programs now catching transport exceptions... Index: main_contactcheck.cc =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/main_contactcheck.cc,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** main_contactcheck.cc 8 Mar 2002 12:11:51 -0000 1.8 --- main_contactcheck.cc 15 Mar 2002 16:34:22 -0000 1.9 *************** *** 139,142 **** --- 139,145 ---- #endif } + catch(epptransport::epp_TrException ex) { + cout << "Exception: " << ex.getString() << endl; + } catch(...) { cout << "Something else went wrong...\n"; Index: main_contactcreate.cc =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/main_contactcreate.cc,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** main_contactcreate.cc 8 Mar 2002 12:11:51 -0000 1.9 --- main_contactcreate.cc 15 Mar 2002 16:34:22 -0000 1.10 *************** *** 137,140 **** --- 137,143 ---- #endif } + catch(epptransport::epp_TrException ex) { + cout << "Exception: " << ex.getString() << endl; + } catch(...) { cout << "Something else went wrong...\n"; Index: main_contactdelete.cc =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/main_contactdelete.cc,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** main_contactdelete.cc 8 Mar 2002 12:11:51 -0000 1.8 --- main_contactdelete.cc 15 Mar 2002 16:34:22 -0000 1.9 *************** *** 100,103 **** --- 100,106 ---- #endif } + catch(epptransport::epp_TrException ex) { + cout << "Exception: " << ex.getString() << endl; + } catch(...) { cout << "Something else went wrong...\n"; Index: main_contactinfo.cc =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/main_contactinfo.cc,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** main_contactinfo.cc 8 Mar 2002 12:11:51 -0000 1.10 --- main_contactinfo.cc 15 Mar 2002 16:34:22 -0000 1.11 *************** *** 263,266 **** --- 263,269 ---- #endif } + catch(epptransport::epp_TrException ex) { + cout << "Exception: " << ex.getString() << endl; + } catch(...) { cout << "Something else went wrong...\n"; Index: main_contacttransfer.cc =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/main_contacttransfer.cc,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** main_contacttransfer.cc 8 Mar 2002 12:11:51 -0000 1.8 --- main_contacttransfer.cc 15 Mar 2002 16:34:22 -0000 1.9 *************** *** 152,155 **** --- 152,158 ---- #endif } + catch(epptransport::epp_TrException ex) { + cout << "Exception: " << ex.getString() << endl; + } catch(...) { cout << "Something else went wrong...\n"; Index: main_contactupdate.cc =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/main_contactupdate.cc,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** main_contactupdate.cc 8 Mar 2002 12:11:51 -0000 1.9 --- main_contactupdate.cc 15 Mar 2002 16:34:22 -0000 1.10 *************** *** 130,133 **** --- 130,136 ---- #endif } + catch(epptransport::epp_TrException ex) { + cout << "Exception: " << ex.getString() << endl; + } catch(...) { cout << "Something else went wrong...\n"; Index: main_domaincheck.cc =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/main_domaincheck.cc,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** main_domaincheck.cc 8 Mar 2002 12:11:51 -0000 1.7 --- main_domaincheck.cc 15 Mar 2002 16:34:22 -0000 1.8 *************** *** 136,139 **** --- 136,142 ---- #endif } + catch(epptransport::epp_TrException ex) { + cout << "Exception: " << ex.getString() << endl; + } catch(...) { cout << "Something else went wrong...\n"; Index: main_domaincreate.cc =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/main_domaincreate.cc,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** main_domaincreate.cc 8 Mar 2002 12:11:51 -0000 1.8 --- main_domaincreate.cc 15 Mar 2002 16:34:22 -0000 1.9 *************** *** 131,134 **** --- 131,137 ---- #endif } + catch(epptransport::epp_TrException ex) { + cout << "Exception: " << ex.getString() << endl; + } catch(...) { cout << "Something else went wrong...\n"; Index: main_domaindelete.cc =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/main_domaindelete.cc,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** main_domaindelete.cc 8 Mar 2002 12:11:51 -0000 1.7 --- main_domaindelete.cc 15 Mar 2002 16:34:22 -0000 1.8 *************** *** 99,102 **** --- 99,105 ---- #endif } + catch(epptransport::epp_TrException ex) { + cout << "Exception: " << ex.getString() << endl; + } catch(...) { cout << "Something else went wrong...\n"; Index: main_domaininfo.cc =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/main_domaininfo.cc,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** main_domaininfo.cc 8 Mar 2002 12:11:51 -0000 1.9 --- main_domaininfo.cc 15 Mar 2002 16:34:22 -0000 1.10 *************** *** 224,227 **** --- 224,230 ---- #endif } + catch(epptransport::epp_TrException ex) { + cout << "Exception: " << ex.getString() << endl; + } catch(...) { cout << "Something else went wrong...\n"; Index: main_domainrenew.cc =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/main_domainrenew.cc,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** main_domainrenew.cc 8 Mar 2002 12:11:51 -0000 1.8 --- main_domainrenew.cc 15 Mar 2002 16:34:22 -0000 1.9 *************** *** 113,116 **** --- 113,119 ---- #endif } + catch(epptransport::epp_TrException ex) { + cout << "Exception: " << ex.getString() << endl; + } catch(...) { cout << "Something else went wrong...\n"; Index: main_domaintransfer.cc =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/main_domaintransfer.cc,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** main_domaintransfer.cc 8 Mar 2002 12:11:51 -0000 1.8 --- main_domaintransfer.cc 15 Mar 2002 16:34:22 -0000 1.9 *************** *** 160,163 **** --- 160,166 ---- #endif } + catch(epptransport::epp_TrException ex) { + cout << "Exception: " << ex.getString() << endl; + } catch(...) { cout << "Something else went wrong...\n"; Index: main_domainupdate.cc =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/main_domainupdate.cc,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** main_domainupdate.cc 8 Mar 2002 12:11:51 -0000 1.8 --- main_domainupdate.cc 15 Mar 2002 16:34:22 -0000 1.9 *************** *** 133,136 **** --- 133,139 ---- #endif } + catch(epptransport::epp_TrException ex) { + cout << "Exception: " << ex.getString() << endl; + } catch(...) { cout << "Something else went wrong...\n"; Index: main_hostcheck.cc =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/main_hostcheck.cc,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** main_hostcheck.cc 8 Mar 2002 12:11:51 -0000 1.7 --- main_hostcheck.cc 15 Mar 2002 16:34:22 -0000 1.8 *************** *** 137,140 **** --- 137,143 ---- #endif } + catch(epptransport::epp_TrException ex) { + cout << "Exception: " << ex.getString() << endl; + } catch(...) { cout << "Something else went wrong...\n"; Index: main_hostcreate.cc =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/main_hostcreate.cc,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** main_hostcreate.cc 8 Mar 2002 12:11:51 -0000 1.8 --- main_hostcreate.cc 15 Mar 2002 16:34:22 -0000 1.9 *************** *** 128,131 **** --- 128,134 ---- #endif } + catch(epptransport::epp_TrException ex) { + cout << "Exception: " << ex.getString() << endl; + } catch(...) { cout << "Something else went wrong...\n"; Index: main_hostdelete.cc =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/main_hostdelete.cc,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** main_hostdelete.cc 8 Mar 2002 12:11:51 -0000 1.7 --- main_hostdelete.cc 15 Mar 2002 16:34:22 -0000 1.8 *************** *** 100,103 **** --- 100,106 ---- #endif } + catch(epptransport::epp_TrException ex) { + cout << "Exception: " << ex.getString() << endl; + } catch(...) { cout << "Something else went wrong...\n"; Index: main_hostinfo.cc =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/main_hostinfo.cc,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** main_hostinfo.cc 8 Mar 2002 12:11:51 -0000 1.8 --- main_hostinfo.cc 15 Mar 2002 16:34:22 -0000 1.9 *************** *** 171,174 **** --- 171,177 ---- #endif } + catch(epptransport::epp_TrException ex) { + cout << "Exception: " << ex.getString() << endl; + } catch(...) { cout << "Something else went wrong...\n"; Index: main_hostupdate.cc =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/main_hostupdate.cc,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** main_hostupdate.cc 8 Mar 2002 12:11:51 -0000 1.8 --- main_hostupdate.cc 15 Mar 2002 16:34:22 -0000 1.9 *************** *** 130,133 **** --- 130,136 ---- #endif } + catch(epptransport::epp_TrException ex) { + cout << "Exception: " << ex.getString() << endl; + } catch(...) { cout << "Something else went wrong...\n"; Index: main_logout.cc =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/main_logout.cc,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** main_logout.cc 8 Mar 2002 12:11:51 -0000 1.5 --- main_logout.cc 15 Mar 2002 16:34:22 -0000 1.6 *************** *** 94,97 **** --- 94,100 ---- #endif } + catch(epptransport::epp_TrException ex) { + cout << "Exception: " << ex.getString() << endl; + } catch(...) { cout << "Something else went wrong...\n"; Index: main_poll.cc =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/main_poll.cc,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** main_poll.cc 9 Mar 2002 11:58:01 -0000 1.8 --- main_poll.cc 15 Mar 2002 16:34:22 -0000 1.9 *************** *** 190,193 **** --- 190,196 ---- #endif } + catch(epptransport::epp_TrException ex) { + cout << "Exception: " << ex.getString() << endl; + } catch(...) { cout << "Something else went wrong...\n"; Index: main_status.cc =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/main_status.cc,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** main_status.cc 8 Mar 2002 11:45:35 -0000 1.1 --- main_status.cc 15 Mar 2002 16:34:23 -0000 1.2 *************** *** 100,103 **** --- 100,106 ---- #endif } + catch(epptransport::epp_TrException ex) { + cout << "Exception: " << ex.getString() << endl; + } catch(...) { cout << "Something else went wrong...\n"; Index: testTools.cc =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/testTools.cc,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** testTools.cc 15 Mar 2002 14:53:47 -0000 1.11 --- testTools.cc 15 Mar 2002 16:34:23 -0000 1.12 *************** *** 402,405 **** --- 402,409 ---- } } + catch(epptransport::epp_TrException ex) { + cout << "Exception: " << ex.getString() << endl; + exit(1); + } catch(...) { cout << "Not able to login...\n"; |