HIPO  4.3.0
High Performance Output data format for experimental physics
hipoexceptions.h
Go to the documentation of this file.
1 /*
2  * File: hipoexceptions.h
3  * Author: gavalian
4  *
5  * Created on April 11, 2017, 2:06 PM
6  */
7 
13 
14 #ifndef HIPOEXCEPTIONS_H
15 #define HIPOEXCEPTIONS_H
16 
17 #include <stdexcept>
18 
19 namespace hipo {
20 
23 class file_error : public std::runtime_error {
24 public:
25  using std::runtime_error::runtime_error;
26 };
27 
29 class schema_error : public std::runtime_error {
30 public:
31  using std::runtime_error::runtime_error;
32 };
33 
35 class record_error : public std::runtime_error {
36 public:
37  using std::runtime_error::runtime_error;
38 };
39 
40 } // namespace hipo
41 
42 #endif /* HIPOEXCEPTIONS_H */
Exception thrown for HIPO file I/O errors (e.g., file not found, read failure).
Exception thrown for record-related errors (e.g., decompression failure).
Exception thrown for schema-related errors (e.g., missing schema, parse failure).
Definition: bank.cpp:47