From 8b990aa02aed9b45edc0036655eeed4fcb437640 Mon Sep 17 00:00:00 2001 From: david Date: Sat, 3 Aug 2002 12:45:23 +0000 Subject: [PATCH] Changed exception to a warning when building skirt. --- src/Airports/GenAirports/build.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Airports/GenAirports/build.cxx b/src/Airports/GenAirports/build.cxx index 6e704c33..4a7bf973 100644 --- a/src/Airports/GenAirports/build.cxx +++ b/src/Airports/GenAirports/build.cxx @@ -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 );