Belle II Software development
DynamicLoadException.cc
1/**************************************************************************
2 * basf2 (Belle II Analysis Software Framework) *
3 * Author: The Belle II Collaboration *
4 * *
5 * See git log for contributors and copyright holders. *
6 * This file is licensed under LGPL-3.0, see LICENSE.md. *
7 **************************************************************************/
8#include "daq/slc/system/DynamicLoadException.h"
9
10#include <cstdarg>
11#include <cstdio>
12
13using namespace Belle2;
14
15DynamicLoadException::DynamicLoadException(const std::string& format, ...)
16{
17 va_list ap;
18 char ss[1024 * 100];
19 va_start(ap, format);
20 vsnprintf(ss, sizeof(ss), format.c_str(), ap);
21 va_end(ap);
22 m_comment = ss;
23}
24
Abstract base class for different kinds of events.