CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Exception.cc
Go to the documentation of this file.
2 
3 namespace cond {
4 
5  namespace persistency {
6 
7 
8  Exception::Exception( const std::string& message, const std::string& methodName ):
9  cms::Exception( "ConditionDatabase", message+" from "+methodName ){}
10 
12  const std::string& methodName ){
13  throw Exception( message, methodName );
14  }
15 
16  }
17 }
Base exception class for the object to relational access.
Definition: Exception.h:13
void throwException(const std::string &message, const std::string &methodName)
Definition: Exception.cc:11
Exception(const std::string &message, const std::string &methodName)
Constructor.
Definition: Exception.cc:8