banner = "Hello %s!" % name
return banner
+ """
+ Intentionnally raises an exception for test purposes.
+ """
+ def raiseAnException( self ):
+ import SALOME
+ exData = SALOME.ExceptionStruct( SALOME.BAD_PARAM, "Test exception in raiseAnException()",'',0)
+ raise SALOME.SALOME_Exception( exData )
+
"""
Create object.
"""