It is not possible to associate an error message to errors returned by COM component. But method “getLastErrorMessage” defined in FeResPost Application class allows to obtain the message associated to the last exception raised by FeResPost. This method can be used to retrieve and print the message. Here is a ruby example of exception management with COM component:
begin db.readBdf("unit_xyz_V1.bdf",["../../MODEL/MESH/"],"bdf",nil,true) rescue Exception => x then printf("\n\nMaybe you should modify the two first include statements in main file!\n") printf("**********************************************************************\n\n") puts frpApp.getLastErrorMessage() end