#include <simgear/compiler.h>
#include <string>
-using std::string;
+class SGPath;
/**
* Information encapsulating a single location in an external resource
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;