src/eric7/VCS/ProjectBrowserHelper.py

branch
eric7
changeset 10069
435cc5875135
parent 9653
e67609152c5e
child 10436
f6881d10e995
diff -r 7febcdccb2a1 -r 435cc5875135 src/eric7/VCS/ProjectBrowserHelper.py
--- a/src/eric7/VCS/ProjectBrowserHelper.py	Thu May 25 11:12:05 2023 +0200
+++ b/src/eric7/VCS/ProjectBrowserHelper.py	Thu May 25 19:51:47 2023 +0200
@@ -84,10 +84,10 @@
         @param menu reference to the menu to be shown
         @param standardItems array of standard items that need
             activation/deactivation depending on the overall VCS status
-        @exception RuntimeError to indicate that this method must be
+        @exception NotImplementedError to indicate that this method must be
             implemented by a subclass
         """
-        raise RuntimeError("Not implemented")
+        raise NotImplementedError("Not implemented")
 
     def showContextMenuMulti(self, menu, standardItems):
         """
@@ -100,10 +100,10 @@
         @param menu reference to the menu to be shown
         @param standardItems array of standard items that need
             activation/deactivation depending on the overall VCS status
-        @exception RuntimeError to indicate that this method must be
+        @exception NotImplementedError to indicate that this method must be
             implemented by a subclass
         """
-        raise RuntimeError("Not implemented")
+        raise NotImplementedError("Not implemented")
 
     def showContextMenuDir(self, menu, standardItems):
         """
@@ -115,10 +115,10 @@
         @param menu reference to the menu to be shown
         @param standardItems array of standard items that
             need activation/deactivation depending on the overall VCS status
-        @exception RuntimeError to indicate that this method must be
+        @exception NotImplementedError to indicate that this method must be
             implemented by a subclass
         """
-        raise RuntimeError("Not implemented")
+        raise NotImplementedError("Not implemented")
 
     def showContextMenuDirMulti(self, menu, standardItems):
         """
@@ -130,10 +130,10 @@
         @param menu reference to the menu to be shown
         @param standardItems array of standard items that need
             activation/deactivation depending on the overall VCS status
-        @exception RuntimeError to indicate that this method must be
+        @exception NotImplementedError to indicate that this method must be
             implemented by a subclass
         """
-        raise RuntimeError("Not implemented")
+        raise NotImplementedError("Not implemented")
 
     ###########################################################################
     ## General menu handling methods below

eric ide

mercurial