mirror of
https://github.com/glest/glest-source.git
synced 2025-08-17 21:51:17 +02:00
handle megaglest_runtime_error
This commit is contained in:
@@ -416,6 +416,9 @@ XmlNode *XmlIoRapid::load(const string &path, const std::map<string,string> &map
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
catch(megaglest_runtime_error& ex) {
|
||||||
|
throw megaglest_runtime_error("Error loading XML: "+ path + "\nMessage: " + ex.what(),!ex.wantStackTrace() );
|
||||||
|
}
|
||||||
catch(const exception &ex) {
|
catch(const exception &ex) {
|
||||||
char szBuf[8096]="";
|
char szBuf[8096]="";
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user