else if (fromInterf)
return myIterator.Value().Intersection();
else
- Standard_NoSuchObject::Raise("HLRBRep_VertexList::Current");
- return myTool.CurrentVertex(); // only for WNT.
+ throw Standard_NoSuchObject("HLRBRep_VertexList::Current");
}
//=======================================================================
if (fromEdge)
return myTool.CurrentOrientation();
else
- Standard_DomainError::Raise("HLRBRep_VertexList::Orientation");
- return TopAbs_EXTERNAL; // only for WNT.
+ throw Standard_DomainError("HLRBRep_VertexList::Orientation");
}
//=======================================================================
if (fromInterf)
return myIterator.Value().Transition();
else
- Standard_DomainError::Raise("HLRBRep_VertexList::Transition");
- return TopAbs_EXTERNAL; // only for WNT.
+ throw Standard_DomainError("HLRBRep_VertexList::Transition");
}
//=======================================================================
if (fromInterf)
return myIterator.Value().BoundaryTransition();
else
- Standard_DomainError::Raise("HLRBRep_VertexList::BoundaryTransition");
- return TopAbs_EXTERNAL; // only for WNT.
+ throw Standard_DomainError("HLRBRep_VertexList::BoundaryTransition");
}