-
- int port = 5010;
- TestClassInterface *tc = new TestClass(3, 5.0, "7911");
- TestClass_Skeleton *tcSkel = new TestClass_Skeleton(tc, port);
+ TestClassInterface *tc;
+ TestClass_Skeleton *tcSkel;
+ try {
+ int port = 5010;
+ tc = new TestClass(3, 5.0, "7911");
+ tcSkel = new TestClass_Skeleton(tc, port);
+ } catch(const exception&) {
+ return EXIT_FAILURE;
+ }