src/eric7/Toolbox/SingleApplication.py

branch
eric7
changeset 10069
435cc5875135
parent 9653
e67609152c5e
child 10303
ee1aadab1215
--- a/src/eric7/Toolbox/SingleApplication.py	Thu May 25 11:12:05 2023 +0200
+++ b/src/eric7/Toolbox/SingleApplication.py	Thu May 25 19:51:47 2023 +0200
@@ -115,10 +115,10 @@
         @type str
         @param arguments list of command arguments
         @type list of str
-        @exception RuntimeError raised to indicate that this method must be
+        @exception NotImplementedError raised to indicate that this method must be
             implemented by a subclass
         """
-        raise RuntimeError("'handleCommand' must be overridden")
+        raise NotImplementedError("'handleCommand' must be overridden")
 
 
 class SingleApplicationClient:
@@ -173,10 +173,10 @@
         <b>Note</b>: This method must be overridden by subclasses.
 
         @param args command line args (list of strings)
-        @exception RuntimeError raised to indicate that this method must be
+        @exception NotImplementedError raised to indicate that this method must be
             implemented by a subclass
         """
-        raise RuntimeError("'processArgs' must be overridden")
+        raise NotImplementedError("'processArgs' must be overridden")
 
     def sendCommand(self, command, arguments):
         """

eric ide

mercurial