certi-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

certi/test/Billard Billard.cc


From: certi-cvs
Subject: certi/test/Billard Billard.cc
Date: Thu, 15 Nov 2007 10:09:15 +0000

CVSROOT:        /sources/certi
Module name:    certi
Changes by:     ROUSSELOT <rousse>      07/11/15 10:09:15

Modified files:
        test/Billard   : Billard.cc 

Log message:
        Little things in order to better print error message on create 
federation 
        in Billard

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/certi/test/Billard/Billard.cc?cvsroot=certi&r1=3.26&r2=3.27

Patches:
Index: Billard.cc
===================================================================
RCS file: /sources/certi/certi/test/Billard/Billard.cc,v
retrieving revision 3.26
retrieving revision 3.27
diff -u -b -r3.26 -r3.27
--- Billard.cc  25 Sep 2007 13:18:26 -0000      3.26
+++ Billard.cc  15 Nov 2007 10:09:15 -0000      3.27
@@ -91,10 +91,13 @@
         creator = true ;
     }
     catch (RTI::FederationExecutionAlreadyExists& e) {
+        printf("BILLARD Note : %s Reason is : %s. OK I can join 
it\n",e._name,e._reason);
         D.Out(pdInit, "Federation execution already created.");
     }
     catch (RTI::CouldNotOpenFED& e) {
+        printf("BILLARD ERROR : %s Reason is : %s\n",e._name,e._reason);
         D.Out(pdExcept, "BILLARD : Could not use FED file.");
+        delete &rtiamb ; // Says RTIA to stop.
         exit(0);
     }
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]