Belle II Software  release-05-02-19
DBHandlerException.cc
1 #include "daq/slc/database/DBHandlerException.h"
2 
3 #include <cstdarg>
4 #include <cstdio>
5 
6 using namespace Belle2;
7 
8 DBHandlerException::DBHandlerException(const std::string& format, ...)
9 {
10  va_list ap;
11  char ss[1024 * 100];
12  va_start(ap, format);
13  vsnprintf(ss, sizeof(ss), format.c_str(), ap);
14  va_end(ap);
15  m_comment = ss;
16 }
17 
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19