-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1072 from JeffersonLab/davidl_data_format_exceptions
Davidl data format exceptions
- Loading branch information
Showing
4 changed files
with
67 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
// $Id$ | ||
// | ||
// File: JExceptionDataFormat.h | ||
// Created: Tue Mar 6 15:57:29 EST 2018 | ||
// Creator: davidl (on Linux gluon119.jlab.org 2.6.32-642.3.1.el6.x86_64 x86_64) | ||
// | ||
|
||
#ifndef _JExceptionDataFormat_ | ||
#define _JExceptionDataFormat_ | ||
|
||
#include <JANA/jerror.h> | ||
#include <JANA/JException.h> | ||
|
||
/// This is a subclass of JException that is used to indicate a | ||
/// parsing error. This was motivated by hdmon needing to catch | ||
/// this specific type of error and set an alarm. hdmon is used | ||
/// for online monitoring and the source is kept in subversion. | ||
|
||
class JExceptionDataFormat: public JException{ | ||
public: | ||
JExceptionDataFormat(const std::string &txt):JException(txt){} | ||
JExceptionDataFormat(const std::string &txt, const char *file, int line):JException(txt, file, line){} | ||
virtual ~JExceptionDataFormat(){} | ||
|
||
protected: | ||
|
||
}; | ||
|
||
#endif // _JExceptionDataFormat_ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters