Salome HOME
Fix typos by Kunda
[modules/kernel.git] / src / KERNEL_PY / kernel / uiexception.py
index d1d2c8e2e38b6292e32e7e3b96d0b16a26124c33..b777c45677a8b564a0387f9f2833d1cadf1e3b29 100644 (file)
@@ -66,9 +66,9 @@ class UiException(Exception):
     def getUIMessage(self):
         return self._UImessage
 
-    ## Specify the type of this exception. To be choosen in the TYPES list.
+    ## Specify the type of this exception. To be chosen in the TYPES list.
     def setType(self, type):
-        """Specify the type of this exception. To be choosen in the TYPES list."""
+        """Specify the type of this exception. To be chosen in the TYPES list."""
         if not self.TYPES.isValid(type):
             raise UiException("The exception type "+str(type)+" can't be used",self.TYPES.DEVEL)
         self._type = type