mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0028550: Foundation Classes - fix empty message passed to thrown exception
This commit is contained in:
@@ -140,7 +140,8 @@ public:
|
||||
|
||||
Standard_Real MaxStep(Standard_Integer theIndex)
|
||||
{
|
||||
Standard_OutOfRange_Raise_if((theIndex < 0) || (theIndex > 3), "");
|
||||
Standard_OutOfRange_Raise_if ((theIndex < 0) || (theIndex > 3),
|
||||
"IntWalk_PWalking::MaxStep() - index is out of range");
|
||||
return pasInit[theIndex];
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user