mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-29 14:00:49 +03:00
0026937: Eliminate NO_CXX_EXCEPTION macro support
Macro NO_CXX_EXCEPTION was removed from code. Method Raise() was replaced by explicit throw statement. Method Standard_Failure::Caught() was replaced by normal C++mechanism of exception transfer. Method Standard_Failure::Caught() is deprecated now. Eliminated empty constructors. Updated samples. Eliminate empty method ChangeValue from NCollection_Map class. Removed not operable methods from NCollection classes.
This commit is contained in:
@@ -119,35 +119,35 @@ inline Standard_Boolean IntPatch_Point::IsVertexOnS1 () const
|
||||
|
||||
inline const Handle(Adaptor3d_HVertex)& IntPatch_Point::VertexOnS1 () const
|
||||
{
|
||||
if (!vtxonS1) {Standard_DomainError::Raise();}
|
||||
if (!vtxonS1) {throw Standard_DomainError();}
|
||||
return vS1;
|
||||
}
|
||||
|
||||
|
||||
inline const Handle(Adaptor2d_HCurve2d)& IntPatch_Point::ArcOnS1 () const
|
||||
{
|
||||
if (!onS1) {Standard_DomainError::Raise();}
|
||||
if (!onS1) {throw Standard_DomainError();}
|
||||
return arcS1;
|
||||
}
|
||||
|
||||
|
||||
inline const IntSurf_Transition& IntPatch_Point::TransitionLineArc1 () const
|
||||
{
|
||||
if (!onS1) {Standard_DomainError::Raise();}
|
||||
if (!onS1) {throw Standard_DomainError();}
|
||||
return traline1;
|
||||
}
|
||||
|
||||
|
||||
inline const IntSurf_Transition& IntPatch_Point::TransitionOnS1 () const
|
||||
{
|
||||
if (!onS1) {Standard_DomainError::Raise();}
|
||||
if (!onS1) {throw Standard_DomainError();}
|
||||
return tra1;
|
||||
}
|
||||
|
||||
|
||||
inline Standard_Real IntPatch_Point::ParameterOnArc1 () const
|
||||
{
|
||||
if (!onS1) {Standard_DomainError::Raise();}
|
||||
if (!onS1) {throw Standard_DomainError();}
|
||||
return prm1;
|
||||
}
|
||||
|
||||
@@ -166,35 +166,35 @@ inline Standard_Boolean IntPatch_Point::IsVertexOnS2 () const
|
||||
|
||||
inline const Handle(Adaptor3d_HVertex)& IntPatch_Point::VertexOnS2 () const
|
||||
{
|
||||
if (!vtxonS2) {Standard_DomainError::Raise();}
|
||||
if (!vtxonS2) {throw Standard_DomainError();}
|
||||
return vS2;
|
||||
}
|
||||
|
||||
|
||||
inline const Handle(Adaptor2d_HCurve2d)& IntPatch_Point::ArcOnS2 () const
|
||||
{
|
||||
if (!onS2) {Standard_DomainError::Raise();}
|
||||
if (!onS2) {throw Standard_DomainError();}
|
||||
return arcS2;
|
||||
}
|
||||
|
||||
|
||||
inline const IntSurf_Transition& IntPatch_Point::TransitionLineArc2 () const
|
||||
{
|
||||
if (!onS2) {Standard_DomainError::Raise();}
|
||||
if (!onS2) {throw Standard_DomainError();}
|
||||
return traline2;
|
||||
}
|
||||
|
||||
|
||||
inline const IntSurf_Transition& IntPatch_Point::TransitionOnS2 () const
|
||||
{
|
||||
if (!onS2) {Standard_DomainError::Raise();}
|
||||
if (!onS2) {throw Standard_DomainError();}
|
||||
return tra2;
|
||||
}
|
||||
|
||||
|
||||
inline Standard_Real IntPatch_Point::ParameterOnArc2 () const
|
||||
{
|
||||
if (!onS2) {Standard_DomainError::Raise();}
|
||||
if (!onS2) {throw Standard_DomainError();}
|
||||
return prm2;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user