X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FKERNEL_PY%2Fkernel%2Fuiexception.py;h=7e55c63681cd6f67721ddc2eb85089da18585a1d;hb=HEAD;hp=bb1928e49945453f648ea72bd41e0a3c4d26f008;hpb=8aabfc9256249b3d60820832ac3450978a5a0f19;p=modules%2Fkernel.git diff --git a/src/KERNEL_PY/kernel/uiexception.py b/src/KERNEL_PY/kernel/uiexception.py index bb1928e49..7e55c6368 100644 --- a/src/KERNEL_PY/kernel/uiexception.py +++ b/src/KERNEL_PY/kernel/uiexception.py @@ -1,5 +1,5 @@ # -*- coding: iso-8859-1 -*- -# Copyright (C) 2010-2016 CEA/DEN, EDF R&D, OPEN CASCADE +# Copyright (C) 2010-2024 CEA, EDF, OPEN CASCADE # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public @@ -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