Converted .ive plugin from using C++ exceptions to using a local equivelant, enabling the build on embedded systems.

This commit is contained in:
Robert Osfield
2009-11-17 12:54:55 +00:00
parent a8abfd64c4
commit f417706b06
128 changed files with 790 additions and 655 deletions

View File

@@ -30,7 +30,7 @@ void Sequence::write(DataOutputStream* out)
}
else
{
throw Exception("Sequence::write(): Could not cast this osg::Sequence to an osg::Group.");
out_THROW_EXCEPTION("Sequence::write(): Could not cast this osg::Sequence to an osg::Group.");
}
// Write Sequence's properties.
@@ -104,7 +104,7 @@ void Sequence::read(DataInputStream* in)
}
else
{
throw Exception("Sequence::read(): Could not cast this osg::Sequence to an osg::Group.");
in_THROW_EXCEPTION("Sequence::read(): Could not cast this osg::Sequence to an osg::Group.");
}
// Read Sequence's properties
@@ -153,6 +153,6 @@ void Sequence::read(DataInputStream* in)
}
else
{
throw Exception("Sequence::read(): Expected Sequence identification.");
in_THROW_EXCEPTION("Sequence::read(): Expected Sequence identification.");
}
}