diff options
author | Mark Spruiell <mes@zeroc.com> | 2004-03-01 22:23:05 +0000 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2004-03-01 22:23:05 +0000 |
commit | 8882f20244d7d87b217948d9a7a83e68d364be80 (patch) | |
tree | 780cc32264be1bf61d8f4f2f3edf74144eeda750 /cpp/src/FreezeScript/Util.cpp | |
parent | another minor fix (diff) | |
download | ice-8882f20244d7d87b217948d9a7a83e68d364be80.tar.bz2 ice-8882f20244d7d87b217948d9a7a83e68d364be80.tar.xz ice-8882f20244d7d87b217948d9a7a83e68d364be80.zip |
renaming Exception to FailureException
Diffstat (limited to 'cpp/src/FreezeScript/Util.cpp')
-rw-r--r-- | cpp/src/FreezeScript/Util.cpp | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/cpp/src/FreezeScript/Util.cpp b/cpp/src/FreezeScript/Util.cpp index 9012bf63cea..d263e4f3c85 100644 --- a/cpp/src/FreezeScript/Util.cpp +++ b/cpp/src/FreezeScript/Util.cpp @@ -105,7 +105,7 @@ FreezeScript::createEvictorSliceTypes(const Slice::UnitPtr& unit) ice = Slice::ModulePtr::dynamicCast(c.front()); if(!ice) { - throw Exception(__FILE__, __LINE__, "the symbol `::Ice' is defined in Slice but is not a module"); + throw FailureException(__FILE__, __LINE__, "the symbol `::Ice' is defined in Slice but is not a module"); } } @@ -127,7 +127,8 @@ FreezeScript::createEvictorSliceTypes(const Slice::UnitPtr& unit) identity = Slice::StructPtr::dynamicCast(l.front()); if(!identity) { - throw Exception(__FILE__, __LINE__, "the symbol `::Ice::Identity' is defined in Slice but is not a struct"); + throw FailureException(__FILE__, __LINE__, + "the symbol `::Ice::Identity' is defined in Slice but is not a struct"); } } @@ -147,8 +148,8 @@ FreezeScript::createEvictorSliceTypes(const Slice::UnitPtr& unit) facetPath = Slice::SequencePtr::dynamicCast(l.front()); if(!facetPath) { - throw Exception(__FILE__, __LINE__, - "the symbol `::Ice::FacetPath' is defined in Slice but is not a sequence"); + throw FailureException(__FILE__, __LINE__, + "the symbol `::Ice::FacetPath' is defined in Slice but is not a sequence"); } } @@ -166,7 +167,8 @@ FreezeScript::createEvictorSliceTypes(const Slice::UnitPtr& unit) freeze = Slice::ModulePtr::dynamicCast(c.front()); if(!freeze) { - throw Exception(__FILE__, __LINE__, "the symbol `::Freeze' is defined in Slice but is not a module"); + throw FailureException(__FILE__, __LINE__, + "the symbol `::Freeze' is defined in Slice but is not a module"); } } @@ -185,8 +187,8 @@ FreezeScript::createEvictorSliceTypes(const Slice::UnitPtr& unit) { if(!Slice::StructPtr::dynamicCast(l.front())) { - throw Exception(__FILE__, __LINE__, "the symbol `::Freeze::EvictorStorageKey' is defined in " - "Slice but is not a struct"); + throw FailureException(__FILE__, __LINE__, "the symbol `::Freeze::EvictorStorageKey' is defined in " + "Slice but is not a struct"); } } @@ -209,8 +211,8 @@ FreezeScript::createEvictorSliceTypes(const Slice::UnitPtr& unit) stats = Slice::StructPtr::dynamicCast(l.front()); if(!stats) { - throw Exception(__FILE__, __LINE__, "the symbol `::Freeze::Statistics' is defined in " - "Slice but is not a struct"); + throw FailureException(__FILE__, __LINE__, "the symbol `::Freeze::Statistics' is defined in " + "Slice but is not a struct"); } } @@ -230,8 +232,8 @@ FreezeScript::createEvictorSliceTypes(const Slice::UnitPtr& unit) { if(!Slice::StructPtr::dynamicCast(l.front())) { - throw Exception(__FILE__, __LINE__, "the symbol `::Freeze::ObjectRecord' is defined in " - "Slice but is not a struct"); + throw FailureException(__FILE__, __LINE__, "the symbol `::Freeze::ObjectRecord' is defined in " + "Slice but is not a struct"); } } } |