Go to the documentation of this file.
28 #ifndef SMESH_ComputeError_HeaderFile
29 #define SMESH_ComputeError_HeaderFile
33 #include <boost/shared_ptr.hpp>
73 std::string comment =
"",
78 std::string comment =
"",
88 #define _case2char(err) case err: return #err;
const SMESH_Algo * myAlgo
std::list< const SMDS_MeshElement * > myBadElements
to explain COMPERR_BAD_INPUT_MESH
@ COMPERR_ALGO_FAILED
algo failed for some reason
@ COMPERR_BAD_SHAPE
bad geometry
@ COMPERR_BAD_INPUT_MESH
wrong mesh on lower submesh
@ COMPERR_OCC_EXCEPTION
OCC exception raised.
boost::shared_ptr< SMESH_ComputeError > SMESH_ComputeErrorPtr
@ COMPERR_STD_EXCEPTION
some std exception raised
int myName
SMESH_ComputeErrorName or anything algo specific.
std::string CommonName() const
Contains algorithm and description of occured error.
@ COMPERR_SLM_EXCEPTION
SALOME exception raised.
SMESH_ComputeError(int error=COMPERR_OK, std::string comment="", const SMESH_Algo *algo=0)
@ COMPERR_EXCEPTION
other exception raised
@ COMPERR_MEMORY_PB
std::bad_alloc exception
static SMESH_ComputeErrorPtr New(int error=COMPERR_OK, std::string comment="", const SMESH_Algo *algo=0)