mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-24 13:50:49 +03:00
0028550: Foundation Classes - fix empty message passed to thrown exception
This commit is contained in:
@@ -31,7 +31,7 @@ inline Standard_Boolean CPnts_AbscissaPoint::IsDone() const
|
||||
|
||||
inline Standard_Real CPnts_AbscissaPoint::Parameter() const
|
||||
{
|
||||
StdFail_NotDone_Raise_if(!myDone, "");
|
||||
StdFail_NotDone_Raise_if (!myDone, "CPnts_AbscissaPoint::Parameter() - no result");
|
||||
return myParam;
|
||||
}
|
||||
|
||||
|
@@ -32,7 +32,7 @@ inline Standard_Boolean CPnts_UniformDeflection::IsAllDone () const
|
||||
|
||||
inline void CPnts_UniformDeflection::Next()
|
||||
{
|
||||
Standard_OutOfRange_Raise_if(myIPoint >= myNbPoints, "");
|
||||
Standard_OutOfRange_Raise_if(myIPoint >= myNbPoints, "CPnts_UniformDeflection::Next() - no more points available");
|
||||
myIPoint++;
|
||||
}
|
||||
|
||||
@@ -43,7 +43,7 @@ inline void CPnts_UniformDeflection::Next()
|
||||
|
||||
inline Standard_Real CPnts_UniformDeflection::Value () const
|
||||
{
|
||||
StdFail_NotDone_Raise_if(!myDone, "");
|
||||
StdFail_NotDone_Raise_if (!myDone, "CPnts_UniformDeflection::Value() - no result");
|
||||
return myParams[myIPoint + 1];
|
||||
}
|
||||
//=======================================================================
|
||||
@@ -53,6 +53,6 @@ inline Standard_Real CPnts_UniformDeflection::Value () const
|
||||
|
||||
inline gp_Pnt CPnts_UniformDeflection::Point () const
|
||||
{
|
||||
StdFail_NotDone_Raise_if(!myDone, "");
|
||||
StdFail_NotDone_Raise_if (!myDone, "CPnts_UniformDeflection::Point() - no result");
|
||||
return myPoints[myIPoint + 1];
|
||||
}
|
||||
|
Reference in New Issue
Block a user