00001 //-------------------------------------------------------------------------- 00002 // File and Version Information: 00003 // $Id: Exceptions.cpp 4139 2012-07-12 18:40:01Z salnikov@SLAC.STANFORD.EDU $ 00004 // 00005 // Description: 00006 // Class Exceptions... 00007 // 00008 // Author List: 00009 // Andy Salnikov 00010 // 00011 //------------------------------------------------------------------------ 00012 00013 //----------------------- 00014 // This Class's Header -- 00015 //----------------------- 00016 #include "IData/Exceptions.h" 00017 00018 //----------------- 00019 // C/C++ Headers -- 00020 //----------------- 00021 00022 //------------------------------- 00023 // Collaborating Class Headers -- 00024 //------------------------------- 00025 00026 //----------------------------------------------------------------------- 00027 // Local Macros, Typedefs, Structures, Unions and Forward Declarations -- 00028 //----------------------------------------------------------------------- 00029 00030 // ---------------------------------------- 00031 // -- Public Function Member Definitions -- 00032 // ---------------------------------------- 00033 00034 namespace IData { 00035 00036 Exception::Exception( const ErrSvc::Context& ctx, const std::string& what ) 00037 : ErrSvc::Issue(ctx, "IData::Exception: " + what) 00038 { 00039 } 00040 00041 } // namespace IData