#include CORBA_CLIENT_HEADER(SALOMEDS)
#include CORBA_CLIENT_HEADER(SALOMEDS_Attributes)
+#include "SMESH_Gen.hxx"
#include "SMESH_Mesh_i.hxx"
#include "SMESH_Hypothesis_i.hxx"
-#include "SALOME_Component_i.hxx"
-#include "SALOME_NamingService.hxx"
-#include "SMESH_Gen.hxx"
-#include "GEOM_Client.hxx"
+#include <SALOME_Component_i.hxx>
+#include <SALOME_NamingService.hxx>
+#include <Utils_CorbaException.hxx>
+
+#include <GEOM_Client.hxx>
#include <TCollection_AsciiString.hxx>
#include <Resource_DataMapOfAsciiStringAsciiString.hxx>
{
return dynamic_cast<T>(SMESH_Gen_i::GetServant(theArg).in());
}
+
+ /*!
+ * \brief Function used in SMESH_CATCH to convert a caught exception to
+ * SALOME::SALOME_Exception
+ */
+ inline void throwCorbaException(const char* excText)
+ {
+ THROW_SALOME_CORBA_EXCEPTION( excText, SALOME::INTERNAL_ERROR );
+ }
}