X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fstructure%2Fexception.hxx;h=0feffd5bb30cd2ad8f2e39ae3d162fb9ac745966;hb=5c9f5361bda56dddad8068d8e45dc08584440d70;hp=bfa978ee82dba26c884135ddaab87987f2d2fe0a;hpb=889e2d6f0618ba47359bdeeff637c466683b8a6a;p=simgear.git diff --git a/simgear/structure/exception.hxx b/simgear/structure/exception.hxx index bfa978ee..0feffd5b 100644 --- a/simgear/structure/exception.hxx +++ b/simgear/structure/exception.hxx @@ -14,7 +14,7 @@ #include #include -using std::string; +class SGPath; /** * Information encapsulating a single location in an external resource @@ -135,7 +135,8 @@ public: sg_io_exception (const std::string &message, const std::string &origin = ""); sg_io_exception (const std::string &message, const sg_location &location, const std::string &origin = ""); - + sg_io_exception (const std::string &message, const SGPath& origin); + virtual ~sg_io_exception () throw (); virtual const std::string getFormattedMessage () const; virtual const sg_location &getLocation () const;