if ( dirName.IsEmpty () )
- Standard_ProgramError :: Raise ( "OSD_Directory :: Build (): incorrect call - no directory name");
+ throw Standard_ProgramError ( "OSD_Directory :: Build (): incorrect call - no directory name");
Standard_Boolean isOK = Exists();
if (! isOK)