[cig-commits] r21387 - short/3D/PyLith/trunk/libsrc/pylith/faults

brad at geodynamics.org brad at geodynamics.org
Mon Feb 25 11:56:06 PST 2013


Author: brad
Date: 2013-02-25 11:56:05 -0800 (Mon, 25 Feb 2013)
New Revision: 21387

Modified:
   short/3D/PyLith/trunk/libsrc/pylith/faults/FaultCohesive.cc
Log:
Change runtime error to logic error.

Modified: short/3D/PyLith/trunk/libsrc/pylith/faults/FaultCohesive.cc
===================================================================
--- short/3D/PyLith/trunk/libsrc/pylith/faults/FaultCohesive.cc	2013-02-25 19:37:23 UTC (rev 21386)
+++ short/3D/PyLith/trunk/libsrc/pylith/faults/FaultCohesive.cc	2013-02-25 19:56:05 UTC (rev 21387)
@@ -138,7 +138,7 @@
     } else {
       const int faultDim = 2;
       assert(3 == mesh->dimension());
-      throw std::runtime_error("UCD fault files no longer supported"); 
+      throw std::logic_error("Support for UCD fault files no longer implemented."); 
     } // if/else
   } catch (const ALE::Exception& err) {
     std::ostringstream msg;



More information about the CIG-COMMITS mailing list