From 0c0455b6e1ed112f950cef53df1897af36652374 Mon Sep 17 00:00:00 2001 From: Klaus Kaempf Date: Wed, 30 Nov 2005 08:53:47 +0000 Subject: [PATCH] fix typo --- zypp/base/Exception.cc | 4 ++-- zypp/base/Exception.h | 14 +++++++------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/zypp/base/Exception.cc b/zypp/base/Exception.cc index fda4d0b..3b8210b 100644 --- a/zypp/base/Exception.cc +++ b/zypp/base/Exception.cc @@ -21,7 +21,7 @@ using std::endl; namespace zypp { ///////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////// - namespace exceptinon_detail + namespace exception_detail { ///////////////////////////////////////////////////////////////// std::string CodeLocation::asString() const @@ -36,7 +36,7 @@ namespace zypp { return str << obj.asString(); } ///////////////////////////////////////////////////////////////// - } // namespace exceptinon_detail + } // namespace exception_detail /////////////////////////////////////////////////////////////////// Exception::Exception( const CodeLocation & where_r, const std::string & msg_r ) diff --git a/zypp/base/Exception.h b/zypp/base/Exception.h index 8caf8de..437ee49 100644 --- a/zypp/base/Exception.h +++ b/zypp/base/Exception.h @@ -19,7 +19,7 @@ namespace zypp { ///////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////// - namespace exceptinon_detail + namespace exception_detail { ///////////////////////////////////////////////////////////////// /** Keep _FILE_, _FUNCTION_ and _LINE_. @@ -47,13 +47,13 @@ namespace zypp /////////////////////////////////////////////////////////////////// /** Create CodeLocation object storing the current location. */ - #define ZYPP_EX_CODELOCATION ::zypp::exceptinon_detail::CodeLocation(__FILE__,__FUNCTION__,__LINE__) + #define ZYPP_EX_CODELOCATION ::zypp::exception_detail::CodeLocation(__FILE__,__FUNCTION__,__LINE__) /** \relates CodeLocation Stream output */ std::ostream & operator<<( std::ostream & str, const CodeLocation & obj ); ///////////////////////////////////////////////////////////////// - } // namespace exceptinon_detail + } // namespace exception_detail /////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////// @@ -97,7 +97,7 @@ namespace zypp class Exception : public std::exception { friend std::ostream & operator<<( std::ostream & str, const Exception & obj ); - typedef exceptinon_detail::CodeLocation CodeLocation; + typedef exception_detail::CodeLocation CodeLocation; public: /** Ctor taking CodeLocation and message. @@ -150,7 +150,7 @@ namespace zypp /** Helper for \ref ZYPP_THROW. */ template - void _ZYPP_THROW( const _Excpt & excpt_r, const exceptinon_detail::CodeLocation & where_r ) + void _ZYPP_THROW( const _Excpt & excpt_r, const exception_detail::CodeLocation & where_r ) { Exception::log( excpt_r, where_r, "THROW: " ); throw( excpt_r ); @@ -158,14 +158,14 @@ namespace zypp /** Helper for \ref ZYPP_THROW. */ template - void _ZYPP_CAUGHT( const _Excpt & excpt_r, const exceptinon_detail::CodeLocation & where_r ) + void _ZYPP_CAUGHT( const _Excpt & excpt_r, const exception_detail::CodeLocation & where_r ) { Exception::log( excpt_r, where_r, "CAUGHT: " ); } /** Helper for \ref ZYPP_THROW. */ template - void _ZYPP_RETHROW( _Excpt & excpt_r, const exceptinon_detail::CodeLocation & where_r ) + void _ZYPP_RETHROW( _Excpt & excpt_r, const exception_detail::CodeLocation & where_r ) { Exception::log( excpt_r, where_r, "RETHROW: " ); excpt_r.relocate( excpt_r, where_r ); -- 2.7.4