DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
dunedaq
sourcecode
wibmod
src
wibmod
WIB1
BNL_UDP_Exception.hh
Go to the documentation of this file.
1
#ifndef __BNL_UDP_EXCEPTION_HH__
2
#define __BNL_UDP_EXCEPTION_HH__ 1
3
4
#include "
wibmod/WIB1/BUException/ExceptionBase.hh
"
5
6
namespace
BUException
{
7
//Exceptions for WIB
8
ExceptionClassGenerator
(BNL_UDP_PORT_OUT_OF_RANGE,
"WIB Port offset too large\n"
)
9
ExceptionClassGenerator
(BAD_REMOTE_IP,
"Invalid remote IP address\n"
)
10
ExceptionClassGenerator
(BAD_SOCKET,
"Socket creation failed\n"
)
11
ExceptionClassGenerator
(SEND_FAILED,
"Failed to send WIB packet\n"
)
12
ExceptionClassGenerator
(CONNECTION_FAILED,
"Connect failed\n"
)
13
ExceptionClassGenerator
(BAD_REPLY,
"Bad WIB reply packet\n"
)
14
}
15
16
17
18
19
#endif
ExceptionBase.hh
ExceptionClassGenerator
#define ExceptionClassGenerator(ClassName, ClassDescription)
Definition
ExceptionBase.hh:28
BUException
Definition
AddressTableException.hh:6
BUException::ExceptionClassGenerator
ExceptionClassGenerator(BAD_FILE,"Bad File\n") ExceptionClassGenerator(INVALID_NAME
Generated on
for DUNE-DAQ by
1.16.1