#include "SMESH_Comment.hxx"
#include "SMESH_ComputeError.hxx"
#include "SMESH_Utils.hxx"
#include <Utils_SALOME_Exception.hxx>
#include <Standard_Failure.hxx>
#include <Standard_ErrorHandler.hxx>
#include <Basics_OCCTVersion.hxx>
#include <utilities.h>
Go to the source code of this file.
Namespaces | |
namespace | SMESH |
Macros | |
#define | OCC_CATCH_SIGNALS |
#define | SMESH_TRY |
#define | SMY_OWN_CATCH |
#define | SMESH_CAUGHT |
#define | SMESH_CATCH(onExceptionFun) |
Functions | |
void | SMESH::throwSalomeEx (const char *txt) |
void | SMESH::doNothing (const char *txt) |
#define OCC_CATCH_SIGNALS |
Referenced by SMESH_Pattern_i::ApplyToMeshFaces(), StdMeshersGUI_DistrPreview::calc(), SMESHGUI_BaseComputeOp::computeMesh(), SMESH_subMesh::ComputeStateEngine(), SMESH_Algo::Continuity(), StdMeshersGUI_DistrPreview::convert(), SMESH::DisplayActor(), SMESHGUI_BaseComputeOp::evaluateMesh(), SMESH::FitAll(), StdMeshers::FunctionExpr::FunctionExpr(), SMESH::GetVisualObj(), StdMeshersGUI_DistrPreview::init(), StdMeshers::FunctionExpr::integral(), SMESHGUI::OnGUIEvent(), SMESHGUI_PrecomputeOp::onPreview(), SMESH::OnVisuException(), process(), SMESH::RenderViewWindow(), SMESH::RepaintCurrentView(), SMESH::RepaintViewWindow(), StdMeshers_NumberOfSegments::SetTableFunction(), StdMeshersGUI_DistrPreview::update(), StdMeshers::Function::value(), and StdMeshers::FunctionExpr::value().
#define SMESH_CATCH | ( | onExceptionFun | ) |
Referenced by SMESH_MeshEditor_i::Add0DElement(), SMESH_MeshEditor_i::AddBall(), SMESH_MeshEditor_i::AddEdge(), SMESH_MeshEditor_i::AddFace(), SMESH_MeshEditor_i::AddNode(), SMESH_MeshEditor_i::AddPolygonalFace(), SMESH_MeshEditor_i::AddPolyhedralVolume(), SMESH_MeshEditor_i::AddPolyhedralVolumeByFaces(), SMESH_MeshEditor_i::AddQuadPolygonalFace(), SMESH_MeshEditor_i::AddVolume(), SMESH_MeshEditor_i::AdvancedExtrusion(), SMESH_MeshEditor_i::AffectedElemGroupsInRegion(), SMESH_MeshEditor_i::BestSplit(), SMESH_MeshEditor_i::ChangeElemNodes(), SMESH_MeshEditor_i::ClearLastCreated(), SMESH_Mesh_i::ClearLog(), SMESH_MeshEditor_i::ConvertFromQuadratic(), SMESH_MeshEditor_i::ConvertFromQuadraticObject(), SMESH_MeshEditor_i::convertToQuadratic(), SMESH_Mesh_i::ConvertToStandalone(), SMESH_MeshEditor_i::Create0DElementsOnAllNodes(), SMESH_Mesh_i::CreateDimGroup(), SMESH_MeshEditor_i::CreateFlatElementsOnFacesGroups(), SMESH_MeshEditor_i::CreateHoleSkin(), SMESH_Mesh_i::CutGroups(), SMESH_Mesh_i::CutListOfGroups(), SMESH_MeshEditor_i::DeleteDiag(), SMESH_MeshEditor_i::DoubleElements(), SMESH_MeshEditor_i::DoubleNode(), SMESH_MeshEditor_i::DoubleNodeElem(), SMESH_MeshEditor_i::DoubleNodeElemGroup(), SMESH_MeshEditor_i::DoubleNodeElemGroup2New(), SMESH_MeshEditor_i::DoubleNodeElemGroupInRegion(), SMESH_MeshEditor_i::DoubleNodeElemGroups(), SMESH_MeshEditor_i::DoubleNodeElemGroups2New(), SMESH_MeshEditor_i::DoubleNodeElemGroupsInRegion(), SMESH_MeshEditor_i::DoubleNodeElemInRegion(), SMESH_MeshEditor_i::DoubleNodeGroup(), SMESH_MeshEditor_i::DoubleNodeGroupNew(), SMESH_MeshEditor_i::DoubleNodeGroups(), SMESH_MeshEditor_i::DoubleNodes(), SMESH_MeshEditor_i::DoubleNodesOnGroupBoundaries(), SMESH_Gen_i::DumpPython_impl(), SMESH_Mesh_i::ExportPartToMED(), SMESH_Mesh_i::ExportToMEDX(), SMESH_MeshEditor_i::ExtrusionAlongPathObjects(), SMESH_MeshEditor_i::ExtrusionByNormal(), SMESH_MeshEditor_i::ExtrusionSweepObjects(), SMESH_MeshEditor_i::FindAmongElementsByPoint(), SMESH_MeshEditor_i::FindCoincidentFreeBorders(), SMESH_MeshEditor_i::FindCoincidentNodes(), SMESH_MeshEditor_i::FindCoincidentNodesOnPart(), SMESH_MeshEditor_i::FindCoincidentNodesOnPartBut(), SMESH_MeshEditor_i::FindElementsByPoint(), SMESH_MeshEditor_i::FindEqualElements(), SMESH_MeshEditor_i::FindNodeClosestTo(), SMESH_PreMeshInfo::ForgetAllData(), SMESH_PreMeshInfo::FullLoadFromFile(), SMESH_Mesh_i::GetComputeProgress(), SMESH_Mesh_i::GetElementType(), StdMeshers_QuadrangleParams_i::GetEnforcedNodes(), SMESH_MeshEditor_i::getGroups(), SMESH_MeshEditor_i::GetLastCreatedElems(), SMESH_MeshEditor_i::GetLastCreatedNodes(), SMESH_MeshEditor_i::GetLastError(), SMESH_Mesh_i::GetLog(), SMESH_Mesh_i::GetMeshEditor(), SMESH_Mesh_i::GetMeshEditPreviewer(), SMESH_MeshEditor_i::GetPointState(), SMESH_MeshEditor_i::GetPreviewData(), SMESH_Mesh_i::GetSubMeshElementsId(), SMESH_Mesh_i::GetSubMeshElementType(), SMESH_Mesh_i::GetSubMeshNodesId(), SMESH_Mesh_i::ImportGMFFile(), SMESH_Mesh_i::ImportSTLFile(), SMESH_Mesh_i::ImportUNVFile(), SMESH_Mesh_i::IntersectGroups(), SMESH_Mesh_i::IntersectListOfGroups(), SMESH_MeshEditor_i::InverseDiag(), SMESH_Gen_i::IsApplicable(), SMESH_PreMeshInfo::LoadFromFile(), SMESH_MeshEditor_i::Make2DMeshFrom3D(), SMESH_MeshEditor_i::MakeBoundaryElements(), SMESH_MeshEditor_i::MakeBoundaryMesh(), SMESH_MeshEditor_i::MergeElements(), SMESH_MeshEditor_i::MergeEqualElements(), SMESH_MeshEditor_i::MergeNodes(), SMESH_MeshEditor_i::mirror(), SMESH_MeshEditor_i::MoveClosestNodeToPoint(), SMESH_MeshEditor_i::MoveNode(), SMESH_MeshEditor_i::QuadTo4Tri(), SMESH_MeshEditor_i::QuadToTri(), SMESH_MeshEditor_i::QuadToTriObject(), SMESH_MeshEditor_i::RemoveElements(), SMESH_Mesh_i::RemoveGroup(), SMESH_Mesh_i::RemoveGroupWithContents(), SMESH_MeshEditor_i::RemoveNodes(), SMESH_MeshEditor_i::RemoveOrphanNodes(), SMESH_Mesh_i::RemoveSubMesh(), SMESH_MeshEditor_i::RenumberElements(), SMESH_MeshEditor_i::RenumberNodes(), SMESH_MeshEditor_i::Reorient(), SMESH_MeshEditor_i::Reorient2D(), SMESH_MeshEditor_i::Reorient2DBy3D(), SMESH_MeshEditor_i::ReorientObject(), SMESH_MeshEditor_i::rotate(), SMESH_MeshEditor_i::RotateMakeMesh(), SMESH_MeshEditor_i::RotateObjectMakeMesh(), SMESH_MeshEditor_i::RotationSweepObjects(), SMESH_PreMeshInfo::SaveToFile(), SMESH_MeshEditor_i::scale(), SMESH_MeshEditor_i::SetMeshElementOnShape(), SMESH_MeshEditor_i::SetNodeInVolume(), SMESH_MeshEditor_i::SetNodeOnEdge(), SMESH_MeshEditor_i::SetNodeOnFace(), SMESH_MeshEditor_i::SetNodeOnVertex(), SMESH_MeshEditor_i::SewBorderToSide(), SMESH_MeshEditor_i::SewCoincidentFreeBorders(), SMESH_MeshEditor_i::SewConformFreeBorders(), SMESH_MeshEditor_i::SewFreeBorders(), SMESH_MeshEditor_i::SewSideElements(), SMESH_MeshEditor_i::smooth(), SMESH_MeshEditor_i::smoothObject(), SMESH_MeshEditor_i::SplitBiQuadraticIntoLinear(), SMESH_MeshEditor_i::SplitHexahedraIntoPrisms(), SMESH_MeshEditor_i::SplitQuad(), SMESH_MeshEditor_i::SplitQuadObject(), SMESH_MeshEditor_i::SplitVolumesIntoTetra(), SMESH_MeshEditor_i::translate(), SMESH_MeshEditor_i::TranslateObjectMakeMesh(), SMESH_MeshEditor_i::TriToQuad(), SMESH_MeshEditor_i::TriToQuadObject(), SMESH_Mesh_i::UnionGroups(), and SMESH_Mesh_i::UnionListOfGroups().
#define SMESH_CAUGHT |
#define SMESH_TRY |
Referenced by SMESH_MeshEditor_i::Add0DElement(), SMESH_MeshEditor_i::AddBall(), SMESH_MeshEditor_i::AddEdge(), SMESH_MeshEditor_i::AddFace(), SMESH_MeshEditor_i::AddNode(), SMESH_MeshEditor_i::AddPolygonalFace(), SMESH_MeshEditor_i::AddPolyhedralVolume(), SMESH_MeshEditor_i::AddPolyhedralVolumeByFaces(), SMESH_MeshEditor_i::AddQuadPolygonalFace(), SMESH_MeshEditor_i::AddVolume(), SMESH_MeshEditor_i::AdvancedExtrusion(), SMESH_MeshEditor_i::AffectedElemGroupsInRegion(), SMESH_MeshEditor_i::BestSplit(), SMESH_MeshEditor_i::ChangeElemNodes(), SMESH_MeshEditor_i::ClearLastCreated(), SMESH_Mesh_i::ClearLog(), SMESH_MeshEditor_i::ConvertFromQuadratic(), SMESH_MeshEditor_i::ConvertFromQuadraticObject(), SMESH_MeshEditor_i::convertToQuadratic(), SMESH_Mesh_i::ConvertToStandalone(), SMESH_MeshEditor_i::Create0DElementsOnAllNodes(), SMESH_Mesh_i::CreateDimGroup(), SMESH_MeshEditor_i::CreateFlatElementsOnFacesGroups(), SMESH_MeshEditor_i::CreateHoleSkin(), SMESH_Mesh_i::CutGroups(), SMESH_Mesh_i::CutListOfGroups(), SMESH_MeshEditor_i::DeleteDiag(), SMESH_MeshEditor_i::DoubleElements(), SMESH_MeshEditor_i::DoubleNode(), SMESH_MeshEditor_i::DoubleNodeElem(), SMESH_MeshEditor_i::DoubleNodeElemGroup(), SMESH_MeshEditor_i::DoubleNodeElemGroup2New(), SMESH_MeshEditor_i::DoubleNodeElemGroupInRegion(), SMESH_MeshEditor_i::DoubleNodeElemGroups(), SMESH_MeshEditor_i::DoubleNodeElemGroups2New(), SMESH_MeshEditor_i::DoubleNodeElemGroupsInRegion(), SMESH_MeshEditor_i::DoubleNodeElemInRegion(), SMESH_MeshEditor_i::DoubleNodeGroup(), SMESH_MeshEditor_i::DoubleNodeGroupNew(), SMESH_MeshEditor_i::DoubleNodeGroups(), SMESH_MeshEditor_i::DoubleNodes(), SMESH_MeshEditor_i::DoubleNodesOnGroupBoundaries(), SMESH_Gen_i::DumpPython_impl(), SMESH_Mesh_i::ExportPartToMED(), SMESH_Mesh_i::ExportToMEDX(), SMESH_MeshEditor_i::ExtrusionAlongPathObjects(), SMESH_MeshEditor_i::ExtrusionByNormal(), SMESH_MeshEditor_i::ExtrusionSweepObjects(), SMESH_MeshEditor_i::FindAmongElementsByPoint(), SMESH_MeshEditor_i::FindCoincidentFreeBorders(), SMESH_MeshEditor_i::FindCoincidentNodes(), SMESH_MeshEditor_i::FindCoincidentNodesOnPart(), SMESH_MeshEditor_i::FindCoincidentNodesOnPartBut(), SMESH_MeshEditor_i::FindElementsByPoint(), SMESH_MeshEditor_i::FindEqualElements(), SMESH_MeshEditor_i::FindNodeClosestTo(), SMESH_PreMeshInfo::ForgetAllData(), SMESH_PreMeshInfo::FullLoadFromFile(), SMESH_Mesh_i::GetComputeProgress(), SMESH_Mesh_i::GetElementType(), StdMeshers_QuadrangleParams_i::GetEnforcedNodes(), SMESH_MeshEditor_i::getGroups(), SMESH_MeshEditor_i::GetLastCreatedElems(), SMESH_MeshEditor_i::GetLastCreatedNodes(), SMESH_MeshEditor_i::GetLastError(), SMESH_Mesh_i::GetLog(), SMESH_Mesh_i::GetMeshEditor(), SMESH_Mesh_i::GetMeshEditPreviewer(), SMESH_MeshEditor_i::GetPointState(), SMESH_MeshEditor_i::GetPreviewData(), SMESH_Mesh_i::GetSubMeshElementsId(), SMESH_Mesh_i::GetSubMeshElementType(), SMESH_Mesh_i::GetSubMeshNodesId(), SMESH_Mesh_i::ImportGMFFile(), SMESH_Mesh_i::ImportSTLFile(), SMESH_Mesh_i::ImportUNVFile(), SMESH_Mesh_i::IntersectGroups(), SMESH_Mesh_i::IntersectListOfGroups(), SMESH_MeshEditor_i::InverseDiag(), SMESH_Gen_i::IsApplicable(), SMESH_PreMeshInfo::LoadFromFile(), SMESH_MeshEditor_i::Make2DMeshFrom3D(), SMESH_MeshEditor_i::MakeBoundaryElements(), SMESH_MeshEditor_i::MakeBoundaryMesh(), SMESH_MeshEditor_i::MergeElements(), SMESH_MeshEditor_i::MergeEqualElements(), SMESH_MeshEditor_i::MergeNodes(), SMESH_MeshEditor_i::mirror(), SMESH_MeshEditor_i::MoveClosestNodeToPoint(), SMESH_MeshEditor_i::MoveNode(), SMESH_MeshEditor_i::QuadTo4Tri(), SMESH_MeshEditor_i::QuadToTri(), SMESH_MeshEditor_i::QuadToTriObject(), SMESH_MeshEditor_i::RemoveElements(), SMESH_Mesh_i::RemoveGroup(), SMESH_Mesh_i::RemoveGroupWithContents(), SMESH_MeshEditor_i::RemoveNodes(), SMESH_MeshEditor_i::RemoveOrphanNodes(), SMESH_Mesh_i::RemoveSubMesh(), SMESH_MeshEditor_i::RenumberElements(), SMESH_MeshEditor_i::RenumberNodes(), SMESH_MeshEditor_i::Reorient(), SMESH_MeshEditor_i::Reorient2D(), SMESH_MeshEditor_i::Reorient2DBy3D(), SMESH_MeshEditor_i::ReorientObject(), SMESH_MeshEditor_i::rotate(), SMESH_MeshEditor_i::RotateMakeMesh(), SMESH_MeshEditor_i::RotateObjectMakeMesh(), SMESH_MeshEditor_i::RotationSweepObjects(), SMESH_PreMeshInfo::SaveToFile(), SMESH_MeshEditor_i::scale(), SMESH_MeshEditor_i::SetMeshElementOnShape(), SMESH_MeshEditor_i::SetNodeInVolume(), SMESH_MeshEditor_i::SetNodeOnEdge(), SMESH_MeshEditor_i::SetNodeOnFace(), SMESH_MeshEditor_i::SetNodeOnVertex(), SMESH_MeshEditor_i::SewBorderToSide(), SMESH_MeshEditor_i::SewCoincidentFreeBorders(), SMESH_MeshEditor_i::SewConformFreeBorders(), SMESH_MeshEditor_i::SewFreeBorders(), SMESH_MeshEditor_i::SewSideElements(), SMESH_MeshEditor_i::smooth(), SMESH_MeshEditor_i::smoothObject(), SMESH_MeshEditor_i::SplitBiQuadraticIntoLinear(), SMESH_MeshEditor_i::SplitHexahedraIntoPrisms(), SMESH_MeshEditor_i::SplitQuad(), SMESH_MeshEditor_i::SplitQuadObject(), SMESH_MeshEditor_i::SplitVolumesIntoTetra(), SMESH_MeshEditor_i::translate(), SMESH_MeshEditor_i::TranslateObjectMakeMesh(), SMESH_MeshEditor_i::TriToQuad(), SMESH_MeshEditor_i::TriToQuadObject(), SMESH_Mesh_i::UnionGroups(), and SMESH_Mesh_i::UnionListOfGroups().
#define SMY_OWN_CATCH |