DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
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
5
6namespace 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
#define ExceptionClassGenerator(ClassName, ClassDescription)
Definition WIB.hh:26