CMS 3D CMS Logo

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 ):
9  cms::Exception( "ConditionDatabase", message ){}
10 
11  Exception::Exception( const std::string& message, const std::string& methodName ):
12  cms::Exception( "ConditionDatabase", message+" from "+methodName ){}
13 
15  const std::string& methodName ){
16  throw Exception( message, methodName );
17  }
18 
19  }
20 
22  const std::string& methodName ){
23  throw Exception( message, methodName );
24  }
25 
26 }
Base exception class for the object to relational access.
Definition: Exception.h:11
std::string message() const
Definition: Exception.cc:145
Namespace of DDCMS conversion namespace.
Exception(const std::string &message)
Constructor.
Definition: Exception.cc:8
Definition: plugin.cc:24
void throwException(const std::string &message, const std::string &methodName)
Definition: Exception.cc:14