Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
JExceptionDataFormat.h
Go to the documentation of this file.
1 // $Id$
2 //
3 // File: JExceptionDataFormat.h
4 // Created: Tue Mar 6 15:57:29 EST 2018
5 // Creator: davidl (on Linux gluon119.jlab.org 2.6.32-642.3.1.el6.x86_64 x86_64)
6 //
7 
8 #ifndef _JExceptionDataFormat_
9 #define _JExceptionDataFormat_
10 
11 #include <JANA/jerror.h>
12 #include <JANA/JException.h>
13 
14 /// This is a subclass of JException that is used to indicate a
15 /// parsing error. This was motivated by hdmon needing to catch
16 /// this specific type of error and set an alarm. hdmon is used
17 /// for online monitoring and the source is kept in subversion.
18 
19 class JExceptionDataFormat: public JException{
20  public:
21  JExceptionDataFormat(const std::string &txt):JException(txt){}
22  JExceptionDataFormat(const std::string &txt, const char *file, int line):JException(txt, file, line){}
24 
25  protected:
26 
27 };
28 
29 #endif // _JExceptionDataFormat_
30 
char string[256]
This is a subclass of JException that is used to indicate a parsing error. This was motivated by hdmo...
JExceptionDataFormat(const std::string &txt)
JExceptionDataFormat(const std::string &txt, const char *file, int line)