Manta Interactive Ray Tracer Development Mailing List

Text archives Help


[MANTA] r600 - branches/itanium2/StandAlone


Chronological Thread 
  • From: abe@sci.utah.edu
  • To: manta@sci.utah.edu
  • Subject: [MANTA] r600 - branches/itanium2/StandAlone
  • Date: Thu, 6 Oct 2005 04:14:17 -0600 (MDT)

Author: abe
Date: Thu Oct  6 04:14:17 2005
New Revision: 600

Modified:
   branches/itanium2/StandAlone/manta.cc
Log:


Added catch statement for (SCIRun::Exception *) -- I don't think that 
try/catch will catch generalized non-pointer types.

M    StandAlone/manta.cc


Modified: branches/itanium2/StandAlone/manta.cc
==============================================================================
--- branches/itanium2/StandAlone/manta.cc       (original)
+++ branches/itanium2/StandAlone/manta.cc       Thu Oct  6 04:14:17 2005
@@ -298,6 +298,9 @@
     }
     rtrt->beginRendering(true);
     delete rtrt;
+  } catch (SCIRun::Exception *e) {
+    cerr << "Caught exception: " << e->message() << std::endl << std::endl;
+    exit(1);
   } catch (SCIRun::Exception& e) {
     cerr << "Caught exception: " << e.message() << '\n';
     if(e.stackTrace())




  • [MANTA] r600 - branches/itanium2/StandAlone, abe, 10/06/2005

Archive powered by MHonArc 2.6.16.

Top of page