1
0
Fork 0

Changed exception to a warning when building skirt.

This commit is contained in:
david 2002-08-03 12:45:23 +00:00
parent 9d7b4e94b8
commit 8b990aa02a

View file

@ -915,7 +915,8 @@ void build_airport( string airport_raw, string_list& runways_raw,
strip_n.push_back( index );
strip_n.push_back( index );
} else {
throw sg_exception("Ooops missing node when building skirt");
SG_LOG(SG_GENERAL, SG_ALERT,
"*** Ooops missing node when building skirt");
}
}
@ -934,7 +935,7 @@ void build_airport( string airport_raw, string_list& runways_raw,
strip_n.push_back( index );
strip_n.push_back( index );
} else {
throw("Ooops missing node when building skirt");
throw sg_exception("Ooops missing node when building skirt");
}
strips_v.push_back( strip_v );