]> git.mxchange.org Git - simgear.git/blobdiff - simgear/structure/exception.hxx
Fix for libCurl pipelining and connection count.
[simgear.git] / simgear / structure / exception.hxx
index 3a8bcab70b7e52bb6601725602734f553d43eb35..0feffd5bb30cd2ad8f2e39ae3d162fb9ac745966 100644 (file)
@@ -14,7 +14,7 @@
 #include <simgear/compiler.h>
 #include <string>
 
-using std::string;
+class SGPath;
 
 /**
  * Information encapsulating a single location in an external resource
@@ -133,6 +133,10 @@ public:
   sg_io_exception (const char* message, const sg_location &location,
                   const char* origin = 0);
   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;