From Bryan Thrall, fixed typos in exception strings.

This commit is contained in:
Robert Osfield 2008-10-03 11:04:23 +00:00
parent 7a6ec46535
commit 281f55a55c

View File

@ -29,7 +29,7 @@ void PagedLOD::write(DataOutputStream* out)
static_cast<ive::Node*>(node)->write(out); static_cast<ive::Node*>(node)->write(out);
} }
else 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->writeString(getDatabasePath());
out->writeFloat(getRadius()); out->writeFloat(getRadius());
@ -117,7 +117,7 @@ void PagedLOD::read(DataInputStream* in)
((ive::Node*)(node))->read(in); ((ive::Node*)(node))->read(in);
} }
else 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 ) if ( in->getVersion() >= VERSION_0006 )