lhapdf
is hosted by
Hepforge
,
IPPP Durham
LHAPDF
6.5.4
Loading...
Searching...
No Matches
include
LHAPDF
Exceptions.h
1
// -*- C++ -*-
2
//
3
// This file is part of LHAPDF
4
// Copyright (C) 2012-2023 The LHAPDF collaboration (see AUTHORS for details)
5
//
6
#pragma once
7
#ifndef LHAPDF_Exceptions_H
8
#define LHAPDF_Exceptions_H
9
10
#include <exception>
11
#include <stdexcept>
12
13
namespace
LHAPDF
{
14
15
18
22
class
Exception
:
public
std::runtime_error {
23
public
:
25
Exception
(
const
std::string& what) : std::runtime_error(what) {}
26
};
27
28
30
class
GridError
:
public
Exception
{
31
public
:
33
GridError
(
const
std::string& what) :
Exception
(what) {}
34
};
35
36
38
class
RangeError
:
public
Exception
{
39
public
:
41
RangeError
(
const
std::string& what) :
Exception
(what) {}
42
};
43
44
46
class
LogicError
:
public
Exception
{
47
public
:
49
LogicError
(
const
std::string& what) :
Exception
(what) {}
50
};
51
52
54
class
MetadataError
:
public
Exception
{
55
public
:
57
MetadataError
(
const
std::string& what) :
Exception
(what) {}
58
};
59
60
62
class
ReadError
:
public
Exception
{
63
public
:
65
ReadError
(
const
std::string& what) :
Exception
(what) {}
66
};
67
68
70
class
FlavorError
:
public
Exception
{
71
public
:
73
FlavorError
(
const
std::string& what) :
Exception
(what) {}
74
};
75
76
78
class
FactoryError
:
public
Exception
{
79
public
:
81
FactoryError
(
const
std::string& what) :
Exception
(what) {}
82
};
83
84
86
class
IndexError
:
public
Exception
{
87
public
:
89
IndexError
(
const
std::string& what) :
Exception
(what) {}
90
};
91
92
94
class
AlphaSError
:
public
Exception
{
95
public
:
97
AlphaSError
(
const
std::string& what) :
Exception
(what) {}
98
};
99
100
102
class
VersionError
:
public
Exception
{
103
public
:
105
VersionError
(
const
std::string& what) :
Exception
(what) {}
106
};
107
108
110
class
UserError
:
public
Exception
{
111
public
:
113
UserError
(
const
std::string& what) :
Exception
(what) {}
114
};
115
116
118
class
NotImplementedError
:
public
Exception
{
119
public
:
121
NotImplementedError
(
const
std::string& what) :
Exception
(what) {}
122
};
123
125
126
127
}
128
#endif
LHAPDF::AlphaSError
Error for general AlphaS computation problems.
Definition
Exceptions.h:94
LHAPDF::AlphaSError::AlphaSError
AlphaSError(const std::string &what)
Constructor with error description string.
Definition
Exceptions.h:97
LHAPDF::Exception
Generic unspecialised LHAPDF runtime error.
Definition
Exceptions.h:22
LHAPDF::Exception::Exception
Exception(const std::string &what)
Constructor with error description string.
Definition
Exceptions.h:25
LHAPDF::FactoryError
Error to be raised by object factories given invalid requests.
Definition
Exceptions.h:78
LHAPDF::FactoryError::FactoryError
FactoryError(const std::string &what)
Constructor with error description string.
Definition
Exceptions.h:81
LHAPDF::FlavorError
Error for requests for unsupported/invalid flavour PIDs.
Definition
Exceptions.h:70
LHAPDF::FlavorError::FlavorError
FlavorError(const std::string &what)
Constructor with error description string.
Definition
Exceptions.h:73
LHAPDF::GridError
Error for general PDF grid problems.
Definition
Exceptions.h:30
LHAPDF::GridError::GridError
GridError(const std::string &what)
Constructor with error description string.
Definition
Exceptions.h:33
LHAPDF::IndexError
Error to be raised when a LHAPDF ID indexing fails.
Definition
Exceptions.h:86
LHAPDF::IndexError::IndexError
IndexError(const std::string &what)
Constructor with error description string.
Definition
Exceptions.h:89
LHAPDF::LogicError
Error for places where it should not have been possible to get to!
Definition
Exceptions.h:46
LHAPDF::LogicError::LogicError
LogicError(const std::string &what)
Constructor with error description string.
Definition
Exceptions.h:49
LHAPDF::MetadataError
Error for unfound or broken metadata entries.
Definition
Exceptions.h:54
LHAPDF::MetadataError::MetadataError
MetadataError(const std::string &what)
Constructor with error description string.
Definition
Exceptions.h:57
LHAPDF::NotImplementedError
This feature doesn't exist yet.
Definition
Exceptions.h:118
LHAPDF::NotImplementedError::NotImplementedError
NotImplementedError(const std::string &what)
Constructor with error description string.
Definition
Exceptions.h:121
LHAPDF::RangeError
Error to be thrown when out of the valid range of a PDF.
Definition
Exceptions.h:38
LHAPDF::RangeError::RangeError
RangeError(const std::string &what)
Constructor with error description string.
Definition
Exceptions.h:41
LHAPDF::ReadError
Error for file reading errors.
Definition
Exceptions.h:62
LHAPDF::ReadError::ReadError
ReadError(const std::string &what)
Constructor with error description string.
Definition
Exceptions.h:65
LHAPDF::UserError
Problem exists between keyboard and chair.
Definition
Exceptions.h:110
LHAPDF::UserError::UserError
UserError(const std::string &what)
Constructor with error description string.
Definition
Exceptions.h:113
LHAPDF::VersionError
Error to be raised when a newer LHAPDF version is needed.
Definition
Exceptions.h:102
LHAPDF::VersionError::VersionError
VersionError(const std::string &what)
Constructor with error description string.
Definition
Exceptions.h:105
LHAPDF
Namespace for all LHAPDF functions and classes.
Definition
AlphaS.h:14
Generated on Thu Sep 26 2024 15:19:26 for LHAPDF by
1.12.0