285 | | throw exception ( msg.c_str() ); |
286 | | } catch ( UIException uixcptn ) { |
287 | | string msg = "the method " + class_name + ".from_setting(Setting&) has thrown an UIException \"" + uixcptn.message + "\" Try to correct this method. Check path \"" + uixcptn.path + "\"."; |
288 | | throw exception ( msg.c_str() ); |
289 | | } catch ( exception xcptn ) { |
290 | | string msg = "the method " + class_name + ".from_setting(Setting&) has thrown a general exception \"" + xcptn.what() + "\" Try to correct this method. Check path \"" + element.getPath() + "\"."; |
291 | | throw exception ( msg.c_str() ); |
| 285 | throw UIException(msg, link.result); |
476 | | string msg = "the method " + class_name + ".to_setting(Setting&) has thrown a SettingException. Try to correct this method. Check path \"" + sttng_xcptn.getPath() + "\"."; |
477 | | throw exception ( msg.c_str() ); |
478 | | } catch ( UIException uixcptn ) { |
479 | | string msg = "the method " + class_name + ".to_setting(Setting&) has thrown an UIException \"" + uixcptn.message + "\" Try to correct this method. Check path \"" + uixcptn.path + "\"."; |
480 | | throw exception ( msg.c_str() ); |
481 | | } catch ( exception xcptn ) { |
482 | | string msg = "the method " + class_name + ".to_setting(Setting&) has thrown a general exception \"" + xcptn.what() + "\" Try to correct this method. Check path \"" + element.getPath() + "\"."; |
483 | | throw exception ( msg.c_str() ); |
| 470 | string msg = "the method "; |
| 471 | msg += class_name; |
| 472 | msg += ".to_setting(Setting&) has thrown a SettingException. Try to correct this method."; |
| 473 | throw UIException(msg, sttng_xcptn.getPath()); |