# -*- coding: iso-8859-1 -*-
-# Copyright (C) 2010-2015 CEA/DEN, EDF R&D, OPEN CASCADE
+# Copyright (C) 2010-2016 CEA/DEN, EDF R&D, OPEN CASCADE
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
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