mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-28 02:10:35 +05:00
+ /*!
+ * \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 ); + }
This commit is contained in:
parent
dfe68f4de1
commit
c3597c66f0
@ -36,13 +36,15 @@
|
||||
#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>
|
||||
@ -630,6 +632,15 @@ namespace SMESH
|
||||
{
|
||||
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 );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user