From 281f55a55cb2a7a3dbd9bfa3ca73d43aa3bdcfb2 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Fri, 3 Oct 2008 11:04:23 +0000 Subject: [PATCH] From Bryan Thrall, fixed typos in exception strings. --- src/osgPlugins/ive/PagedLOD.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/osgPlugins/ive/PagedLOD.cpp b/src/osgPlugins/ive/PagedLOD.cpp index fa8225ea1..c8b363ac6 100644 --- a/src/osgPlugins/ive/PagedLOD.cpp +++ b/src/osgPlugins/ive/PagedLOD.cpp @@ -29,7 +29,7 @@ void PagedLOD::write(DataOutputStream* out) static_cast(node)->write(out); } else - throw Exception("PagedLOD::write(): Could not cast this osg::PagedLOD to an osg::LOD."); + throw Exception("PagedLOD::write(): Could not cast this osg::PagedLOD to an osg::Node."); out->writeString(getDatabasePath()); out->writeFloat(getRadius()); @@ -117,7 +117,7 @@ void PagedLOD::read(DataInputStream* in) ((ive::Node*)(node))->read(in); } else - throw Exception("Group::read(): Could not cast this osg::Group to an osg::Node."); + throw Exception("PagedLOD::read(): Could not cast this osg::PagedLOD to an osg::Node."); if ( in->getVersion() >= VERSION_0006 )