]> git.mxchange.org Git - simgear.git/commit
overhaul sg_throwable to behave like a proper exception
authorTim Moore <timoore@redhat.com>
Wed, 4 Mar 2009 10:15:47 +0000 (11:15 +0100)
committerTim Moore <timoore@redhat.com>
Tue, 16 Jun 2009 09:11:13 +0000 (11:11 +0200)
commit76948416a9624ba269d2baeac294c6db0853f104
treea4fac04cba823f4089d3b23e23e629d15c4d083d
parentf4a527c57c18376c30ab20eceeb8c1f477acc60f
overhaul sg_throwable to behave like a proper exception

Make sg_throwable inherit from std::exception.

change exception objects to contain C strings: exception objects should not
include objects, like std::string, whose copy constructor could throw.
simgear/structure/exception.cxx
simgear/structure/exception.hxx