NSCL DDAS
1.0
Support for XIA DDAS at the NSCL
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Macros
Pages
traiter
src
Exceptions.h
1
// Exceptions.h
2
//
3
// Author : Jeromy Tompkins
4
// Date : 8/14/2013
5
6
#ifndef EXCEPTIONS_H
7
#define EXCEPTIONS_H
8
9
#include <string>
10
#include <TObject.h>
11
12
namespace
TrAnal
13
{
14
15
// class ProcessorException
16
// {
17
// public:
18
// ProcessorException() throw() {}
19
//
20
// ProcessorException(const ProcessorException& exc) throw() {}
21
//
22
// virtual ~ProcessorException() throw() {}
23
//
24
// virtual const char* what() throw() { return "Processor exception"; }
25
//
26
// ClassDef(ProcessorException,0);
27
// };
28
29
30
class
AlgorithmOutOfBoundsException
// : public ProcessorException
31
{
32
private
:
33
std::string fMessage;
34
35
public
:
36
AlgorithmOutOfBoundsException
(
const
unsigned
int
algopoint,
const
unsigned
int
valid_low,
const
unsigned
int
valid_high)
throw
();
37
38
AlgorithmOutOfBoundsException
(
const
AlgorithmOutOfBoundsException
& exc)
throw
();
39
40
AlgorithmOutOfBoundsException
& operator=(
const
AlgorithmOutOfBoundsException
& exc)
throw
();
41
42
~
AlgorithmOutOfBoundsException
()
throw
();
43
44
const
char
* what()
const
throw
();
45
47
ClassDef(
AlgorithmOutOfBoundsException
,0);
49
};
50
51
class
InvalidResultException
// : public ProcessorException
52
{
53
private
:
54
std::string fMessage;
55
56
public
:
57
InvalidResultException
(
const
std::string& message)
throw
();
58
59
InvalidResultException
(
const
InvalidResultException
& exc)
throw
();
60
61
InvalidResultException
& operator=(
const
InvalidResultException
& exc)
throw
();
62
63
~
InvalidResultException
()
throw
();
64
65
const
char
* what()
const
throw
();
66
68
ClassDef(
InvalidResultException
,0);
70
71
};
72
73
}
// end namespace
74
75
#endif
76
TrAnal::AlgorithmOutOfBoundsException
Definition:
Exceptions.h:30
TrAnal
Definition:
AlgoIterator.hpp:12
TrAnal::InvalidResultException
Definition:
Exceptions.h:51
Generated on Tue Mar 31 2020 13:10:44 for NSCL DDAS by
1.8.8