better handling of exceptions here, remembering all errors.
[platform/upstream/libzypp.git] / zypp / repo / RepoException.h
index ab8c6f1..d99c1ba 100644 (file)
@@ -58,7 +58,21 @@ namespace zypp
      */
     class RepoNoUrlException : public RepoException
     {
-    
+      public:
+      RepoNoUrlException()
+      {}
+      
+      RepoNoUrlException( const RepoInfo &info)
+        : _info(info)
+      {}
+      
+      ~RepoNoUrlException() throw()
+      {}
+      
+      RepoInfo info()
+      { return _info; }
+    private:
+      RepoInfo _info;
     };
     
     /**