DUNE-DAQ
DUNE Trigger and Data Acquisition software
Toggle main menu visibility
Loading...
Searching...
No Matches
dunedaq
sourcecode
sspmodules
src
anlBoard
anlExceptions.hpp
Go to the documentation of this file.
1
8
#ifndef SSPMODULES_SRC_ANLBOARD_ANLEXCEPTIONS_HPP_
9
#define SSPMODULES_SRC_ANLBOARD_ANLEXCEPTIONS_HPP_
10
11
#include <stdexcept>
12
#include <string>
13
14
namespace
dunedaq
{
15
namespace
sspmodules
{
16
17
//================================//
18
// Bad requests from Device Manager//
19
//================================//
20
21
class
ENoSuchDevice
:
public
std::runtime_error
22
{
23
public
:
24
explicit
ENoSuchDevice
(
const
std::string& s)
25
:
std
::runtime_error(s)
26
{
27
}
28
29
ENoSuchDevice
()
30
:
std
::runtime_error(
""
)
31
{
32
}
33
};
34
35
class
EDeviceAlreadyOpen
:
public
std::runtime_error
36
{
37
public
:
38
explicit
EDeviceAlreadyOpen
(
const
std::string& s)
39
:
std
::runtime_error(s)
40
{
41
}
42
43
EDeviceAlreadyOpen
()
44
:
std
::runtime_error(
""
)
45
{
46
}
47
};
48
49
class
EBadDeviceList
:
public
std::runtime_error
50
{
51
public
:
52
explicit
EBadDeviceList
(
const
std::string& s)
53
:
std
::runtime_error(s)
54
{
55
}
56
57
EBadDeviceList
()
58
:
std
::runtime_error(
""
)
59
{
60
}
61
};
62
63
//=======================================//
64
// Error reported by USB interface library//
65
//=======================================//
66
67
class
EFTDIError
:
public
std::runtime_error
68
{
69
public
:
70
explicit
EFTDIError
(
const
std::string& s)
71
:
std
::runtime_error(s)
72
{
73
}
74
75
EFTDIError
()
76
:
std
::runtime_error(
""
)
77
{
78
}
79
};
80
81
//=======================================//
82
// Error reported by TCP interface library//
83
//=======================================//
84
85
class
ETCPError
:
public
std::runtime_error
86
{
87
public
:
88
explicit
ETCPError
(
const
std::string& s)
89
:
std
::runtime_error(s)
90
{
91
}
92
93
ETCPError
()
94
:
std
::runtime_error(
""
)
95
{
96
}
97
};
98
99
//===============================================//
100
// Error receiving expected event data from device//
101
//===============================================//
102
103
class
EEventReadError
:
public
std::runtime_error
104
{
105
public
:
106
explicit
EEventReadError
(
const
std::string& s)
107
:
std
::runtime_error(s)
108
{
109
}
110
111
EEventReadError
()
112
:
std
::runtime_error(
""
)
113
{
114
}
115
};
116
117
class
EDAQConfigError
:
public
std::runtime_error
118
{
119
public
:
120
explicit
EDAQConfigError
(
const
std::string& s)
121
:
std
::runtime_error(s)
122
{
123
}
124
125
EDAQConfigError
()
126
:
std
::runtime_error(
""
)
127
{
128
}
129
};
130
131
}
// namespace sspmodules
132
}
// namespace dunedaq
133
134
#endif
// SSPMODULES_SRC_ANLBOARD_ANLEXCEPTIONS_HPP_
dunedaq::sspmodules::EBadDeviceList::EBadDeviceList
EBadDeviceList(const std::string &s)
Definition
anlExceptions.hpp:52
dunedaq::sspmodules::EBadDeviceList::EBadDeviceList
EBadDeviceList()
Definition
anlExceptions.hpp:57
dunedaq::sspmodules::EDAQConfigError::EDAQConfigError
EDAQConfigError()
Definition
anlExceptions.hpp:125
dunedaq::sspmodules::EDAQConfigError::EDAQConfigError
EDAQConfigError(const std::string &s)
Definition
anlExceptions.hpp:120
dunedaq::sspmodules::EDeviceAlreadyOpen::EDeviceAlreadyOpen
EDeviceAlreadyOpen()
Definition
anlExceptions.hpp:43
dunedaq::sspmodules::EDeviceAlreadyOpen::EDeviceAlreadyOpen
EDeviceAlreadyOpen(const std::string &s)
Definition
anlExceptions.hpp:38
dunedaq::sspmodules::EEventReadError::EEventReadError
EEventReadError()
Definition
anlExceptions.hpp:111
dunedaq::sspmodules::EEventReadError::EEventReadError
EEventReadError(const std::string &s)
Definition
anlExceptions.hpp:106
dunedaq::sspmodules::EFTDIError::EFTDIError
EFTDIError()
Definition
anlExceptions.hpp:75
dunedaq::sspmodules::EFTDIError::EFTDIError
EFTDIError(const std::string &s)
Definition
anlExceptions.hpp:70
dunedaq::sspmodules::ENoSuchDevice::ENoSuchDevice
ENoSuchDevice()
Definition
anlExceptions.hpp:29
dunedaq::sspmodules::ENoSuchDevice::ENoSuchDevice
ENoSuchDevice(const std::string &s)
Definition
anlExceptions.hpp:24
dunedaq::sspmodules::ETCPError::ETCPError
ETCPError(const std::string &s)
Definition
anlExceptions.hpp:88
dunedaq::sspmodules::ETCPError::ETCPError
ETCPError()
Definition
anlExceptions.hpp:93
dunedaq::sspmodules
Definition
anlExceptions.hpp:15
dunedaq
The DUNE-DAQ namespace.
Definition
cib_utilities.cpp:5
std
Definition
SchemaUtils.hpp:118
Generated on
for DUNE-DAQ by
1.18.0