[Liblas-commits] hg-main-tree: throw pdal_error so we can ignore it on ::transform

liblas-commits at liblas.org liblas-commits at liblas.org
Thu Jun 30 16:13:41 EDT 2011


details:   http://hg.libpc.orghg-main-tree/rev/ae2ab1d4b9ac
changeset: 823:ae2ab1d4b9ac
user:      Howard Butler <hobu.inc at gmail.com>
date:      Thu Jun 30 15:13:38 2011 -0500
description:
throw pdal_error so we can ignore it on ::transform

diffstat:

 src/filters/ReprojectionFilter.cpp |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r f7bb59b55778 -r ae2ab1d4b9ac src/filters/ReprojectionFilter.cpp
--- a/src/filters/ReprojectionFilter.cpp	Thu Jun 30 14:52:40 2011 -0500
+++ b/src/filters/ReprojectionFilter.cpp	Thu Jun 30 15:13:38 2011 -0500
@@ -197,7 +197,7 @@
     {
         std::ostringstream msg; 
         msg << "Could not project point for ReprojectionTransform::" << CPLGetLastErrorMsg() << ret;
-        throw std::runtime_error(msg.str());
+        throw pdal_error(msg.str());
     }
 #else
     boost::ignore_unused_variable_warning(x);


More information about the Liblas-commits mailing list